Commit Graph

68 Commits

Author SHA1 Message Date
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