Commit Graph

1650 Commits

Author SHA1 Message Date
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 c5eed6b303 magic-removal: Changed django.core.formfields to use gettext() instead of _(), to fix weird bug in unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 16:22:53 +00:00
Adrian Holovaty ce2c1bae48 magic-removal: Added a TODO about a circular reference that needs to be removed.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 14:52:24 +00:00
Adrian Holovaty 3f5f875179 magic-removal: Added missing LogEntry import in django.contrib.admin.views.stages.add
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 14:49:24 +00:00
Adrian Holovaty f58e704341 magic-removal: Made django.db.models.options.default_names UPPERCASE and a tuple
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 14:37:03 +00:00
Adrian Holovaty d828a40cb8 magic-removal: Fixed #1084 -- Added some missing imports. Thanks, nesh
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 14:32:08 +00:00
Robert Wittams 79b57ab50b magic-removal: url fixes in admin. Thanks Nebojsa.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 12:55:48 +00:00
Robert Wittams d42511dba6 magic-removal: Split up admin/views/main.py. Other fixes in the process of testing. This is likely to break some things with missing imports, please file tickets.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 12:50:33 +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
Adrian Holovaty 50b5f9da63 magic-removal: Got rid of some uses of '_', the special underscore variable, where it's not needed. Trying to solve a weird bug.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 03:51:43 +00:00
Adrian Holovaty 2fb5430f3a magic-removal: Merged to [1730]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 03:30:18 +00:00
Adrian Holovaty aea4dfb46d magic-removal: Changed django.core.formfields.CheckboxSelectMultipleField NOT to use the '_' variable
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 03:28:43 +00:00
Adrian Holovaty 3a2c18ac53 magic-removal: Small code cleanup
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 03:28:01 +00:00
Robert Wittams 743b02825e magic-removal: cleanup Options initialisation
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 21:07:17 +00:00
Adrian Holovaty 5907e9337f magic-removal: More small code cleanups
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 20:41:47 +00:00
Adrian Holovaty fc27500389 magic-removal: Various small code cleanups
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 20:36:41 +00:00
Adrian Holovaty 10df9db788 magic-removal: Fixed a couple of typos
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 20:11:10 +00:00
Robert Wittams 938f339c82 magic-removal:Fixed breadcrumbs in admin. Removed some debug print statements
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 19:32:40 +00:00
Robert Wittams fb66b37337 Added missing original_url method to AdminBoundField
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 09:43:53 +00:00
Robert Wittams 39c6f4fb88 magic-removal: slight event cleanup
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 00:59:11 +00:00
Robert Wittams 4f609faf3f magic-removal:Cleanups. Start of revised M2M.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 22:31:55 +00:00
Adrian Holovaty 06332287a8 magic-removal: Merged to [1717]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 19:35:04 +00:00
Robert Wittams bb874b690a magic-removal:Management fixes. Everything works on app labels, and constraints generation is correct for mutually referential models.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 15:39:22 +00:00
Robert Wittams dbd3869610 Some event use. Slight manipulator refactor.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 03:59:35 +00:00
Robert Wittams 4e25fec9f4 magic-removal: Import of pydispatcher as django.dispatch
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 02:11:48 +00:00
Robert Wittams 2a8e8fc75f Moved magic method addition to fields
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 02:10:33 +00:00
Adrian Holovaty 28023a0adc magic-removal: Negligible change to 'set' import
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 23:34:44 +00:00
Adrian Holovaty 97bcca5d29 magic-removal: Fixed #1074. Added missing import to the top of django.models.auth. Thanks, Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 23:26:19 +00:00
Robert Wittams f93f58423a Added python 2.3 fallback
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 23:26:02 +00:00
Robert Wittams 9e4a9de0d5 Added python 2.3 fallback
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 23:23:07 +00:00
Robert Wittams e230de4ead Mutually referential delete now done.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 23:09:10 +00:00
Adrian Holovaty ef4c387c94 magic-removal: Added a couple of comments to d.c.management.get_sql_create
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 23:05:35 +00:00
Adrian Holovaty 491d0f0d4b magic-removal: Fixed d.core.management to use backend.quote_name instead of db.db.quote_name, and connection instead of db.db
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 22:36:14 +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
Robert Wittams a226ac7602 Mutually recursive models. Working except deletion.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 22:02:27 +00:00
Robert Wittams b90ad58b96 Changed management SQL stuff to work with mutually referential models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 21:32:16 +00:00
Robert Wittams 356de17636 magic-removal: first step to integrate mutually referential models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 20:24:09 +00:00
Robert Wittams f4dfb99f45 Refactored metaclass in preparation for descriptor fields
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 19:52:06 +00:00
Robert Wittams 43b41a7565 Seperate related fields. Add stage works.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 16:53:27 +00:00
Robert Wittams c86bfac264 Moved fields.py. Fixed template debug unit test failures.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 15:51:08 +00:00
Adrian Holovaty ecebbb200f magic-removal: Small template syntax change because I'm anal
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 15:24:57 +00:00
Robert Wittams 7aeeae67ee Seperate managers from their descriptors.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 15:14:12 +00:00
Robert Wittams 6f0861b256 Split up of models/__init__.py complete, tests run and admin works to a degree.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 13:49:52 +00:00
Robert Wittams 350e8a3523 Split out manager
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 13:00:13 +00:00
Robert Wittams e5b3fd474b Continued models/__init__.py breakup
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 12:44:48 +00:00
Robert Wittams 9394d004db Starting to break up models/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 12:28:24 +00:00
Robert Wittams f013d39c90 Url fixes
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 12:12:50 +00:00
Robert Wittams 71f55b68b1 Now possible to save in a changeform
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 12:07:27 +00:00
Adrian Holovaty b32aca5d8c magic-removal: Merged to [1688]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 05:16:48 +00:00
Adrian Holovaty b5be4a4fcc magic-removal: Merged to [1686]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 05:05:10 +00:00