Adrian Holovaty
|
a71574a476
|
magic-removal: Changed custom_managers unit tests to set core_filters directly rather than _set_core_filter()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 03:40:06 +00:00 |
Adrian Holovaty
|
2be3eefdff
|
magic-removal: Updated some of the unit tests to use new syntax. 175 unit-test failures at this point.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 00:38:23 +00:00 |
Luke Plant
|
2fd362f2d7
|
magic-removal: Updated model tests for new syntax: 'basic', 'custom_managers' and 'custom_columns'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-29 00:23:52 +00:00 |
Russell Keith-Magee
|
ce71979e53
|
magic-removal: Modified query lookup to correctly handle non-plural RelatedObjects.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 17:06:05 +00:00 |
Joseph Kocherhans
|
faf9ff6316
|
magic-removal: Fixed some model tests that broke with removal of pluralization in [2111].
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-25 21:51:13 +00:00 |
Adrian Holovaty
|
69120fa9d3
|
magic-removal: Changed delete() safety-mechanism logic to happen as soon as possible.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 02:34:07 +00:00 |
Russell Keith-Magee
|
186c09d96f
|
magic-removal: Refs 1219 -- Added DELETE_ALL=True safety mechanism to prevent accidental deletion of entire table contents.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-18 13:16:58 +00:00 |
Adrian Holovaty
|
c85e3d4a2a
|
magic-removal: Added some unit tests to many_to_one that verify deletion of related objects
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 21:55:07 +00:00 |
Adrian Holovaty
|
51d2de6a56
|
magic-removal: Changed save_delete_hooks unit test to use new convention for overriding save() and delete()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 19:18:24 +00:00 |
Russell Keith-Magee
|
00f93bc7bb
|
magic-removal: Fixed #1219 - Added bulk delete for objects.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-17 12:06:16 +00:00 |
Russell Keith-Magee
|
0389e6261b
|
magic-removal: Cleaned up get_in_bulk() and __get_date_list() DB queries to match documentation and improve error checking.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-09 14:34:17 +00:00 |
Russell Keith-Magee
|
dde6963869
|
magic-removal: Fixed #1133 -- Added ability to use Q objects as args
in DB lookup queries.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-09 11:01:38 +00:00 |
Adrian Holovaty
|
8b1662a185
|
magic-removal: Changed 'reserved_names' model unit tests to add tests that get_date_extract_sql and get_date_trunc_sql properly escape table and column names
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-09 01:48:02 +00:00 |
Adrian Holovaty
|
f998c7bcc6
|
magic-removal: Fixed #1186 -- Fixed problem resolving primary key in some 'pk' database queries. Also lightly refactored query-parsing code. Thanks, Russ
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-08 06:16:05 +00:00 |
Adrian Holovaty
|
bb8fb814a6
|
magic-removal: Merged to [1834]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-06 20:49:38 +00:00 |
Adrian Holovaty
|
f89510c60c
|
magic-removal: Changed manipulator unit tests to remove usage of sorted() function, which is Python 2.4 only
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-05 22:10:41 +00:00 |
Adrian Holovaty
|
b72373a7fd
|
magic-removal: Fixed #1143 -- Fixed backwards incompatibilities in many-to-many DB API lookups, added support for reverse many-to-many lookups, added unit tests. Thanks, Russ
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-30 16:38:26 +00:00 |
Adrian Holovaty
|
d382abc875
|
magic-removal: Fixed #1136: Removed duplicated DB joins resulting from kwarg evaluation. Thanks, Russ Magee
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-29 19:11:00 +00:00 |
Robert Wittams
|
79ad41be03
|
magic-removal: Manipulator and deletion fixes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-22 15:07:36 +00:00 |
Adrian Holovaty
|
29fe9598e0
|
magic-removal: Renamed 'class META' to 'class Meta' in models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-21 02:42:27 +00:00 |
Adrian Holovaty
|
5d630bcc60
|
magic-removal: Added more manipulator unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-20 17:23:22 +00:00 |
Adrian Holovaty
|
55d49ed576
|
magic-removal: Added first stab at manipulator unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-19 05:42:08 +00:00 |
Robert Wittams
|
1fbf03112f
|
Mutually recursive models unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-16 22:15:07 +00:00 |
Adrian Holovaty
|
96afbcff43
|
magic-removal: Fixed bug in custom_pk unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 21:50:37 +00:00 |
Robert Wittams
|
765abe8f70
|
magic-removal: related classes methods now added
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 21:30:49 +00:00 |
Adrian Holovaty
|
e18d87f84e
|
magic-removal: Implemented hook for custom managers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:49:48 +00:00 |
Adrian Holovaty
|
af96c19be2
|
magic-removal: Added custom_managers model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:41:48 +00:00 |
Adrian Holovaty
|
ebcc0dad23
|
magic-removal: Removed subclassing model unit tests for now
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:03:33 +00:00 |
Adrian Holovaty
|
aecff3e245
|
magic-removal: Various cleanup and moving, with respect to the recent django.core.db -> django.db move
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 06:24:32 +00:00 |
Adrian Holovaty
|
d0fabc0499
|
magic-removal: Moved django.core.meta to django.db.models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 05:02:51 +00:00 |
Adrian Holovaty
|
464b638d90
|
magic-removal: Removed module_name calls in model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:25:46 +00:00 |
Adrian Holovaty
|
8d4f9f73c8
|
magic-removal: Improved 'properties' model unit tests to test for setting attribute on a property
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:36:20 +00:00 |
Adrian Holovaty
|
bac086ba43
|
magic-removal: Added 'properties' model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:29:58 +00:00 |
Adrian Holovaty
|
257f7090ef
|
magic-removal: Added Manager.__get__ method that forbids access by instances. Also added unit tests. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-13 16:44:54 +00:00 |
Adrian Holovaty
|
683e075a01
|
magic-removal: Changed runtests.py to use new modeltests package and to import model classes directly, rather than magic modules
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 05:40:09 +00:00 |
Adrian Holovaty
|
750963bfc8
|
magic-removal: Added __init__.py to tests/modeltests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 04:13:59 +00:00 |
Adrian Holovaty
|
9b1dd36665
|
magic-removal: Moved model unit tests from 'testapp' package into 'modeltests' package, with each model test getting its own app
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 04:07:46 +00:00 |