Commit Graph

11 Commits

Author SHA1 Message Date
Russell Keith-Magee 4b0acfc202 magic-removal: Added fixes to OneToOne descriptors and RelatedObjects to get one_to_one unit tests to pass. Still requires work on and extra unit tests for __set__ on SingleRelatedObjectDescriptor.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-28 14:02:20 +00:00
Russell Keith-Magee 841a12f98d magic-removal: Modified behavior of add() for ForeignKey descriptors to take a list of objects, rather than creating a new object. Added create() methods to ForeignKey and m2m descriptors to allow for new instance creation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 14:23:52 +00:00
Adrian Holovaty fe94847e2c magic-removal: Updated one_to_one unit tests to use self.restaurant instead of self.get_restaurant(), etc.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-03 17:23:24 +00:00
Adrian Holovaty 9fa5c43d5b magic-removal: Changed syntax in unit tests -- hopefully for the last time.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-31 01:08:02 +00:00
Adrian Holovaty b349e42aac magic-removal: Updated unit tests to use objects.all()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-30 22:44:05 +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
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 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 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 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 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