Commit Graph

1535 Commits

Author SHA1 Message Date
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
Robert Wittams a01eab5049 Minimal support for change forms in the admin
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 02:16:59 +00:00
Adrian Holovaty f6aa8baf52 magic-removal: Changed django.core.management.validate to output 'Skipping validation' message if validation raises ImproperlyConfigured
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 02:05:12 +00:00
Adrian Holovaty 7e8b3e7d5e magic-removal: Changed django/db/__init__.py to raise ImproperlyConfigured if DATABASE_ENGINE is blank.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 02:04:32 +00:00
Adrian Holovaty 58f61e0373 magic-removal: Removed SilentVariableFailure exception, in favor of a silent_variable_failure attribute on the exception. Updated docs and added unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 01:58:03 +00:00
Adrian Holovaty e4fb3982a1 magic-removal: Changed manage.py behavior so that it 'startapp' always creates the app within the project directory
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 01:19:59 +00:00
Adrian Holovaty 12deb1d793 magic-removal: Changed default DATABASE_ENGINE to an empty string instead of postgresql
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 00:07:26 +00:00
Robert Wittams 263dff0121 Fix models/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 00:01:19 +00:00
Robert Wittams 8b857e8044 Changes to get admin semi-working
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 23:26:04 +00:00
Adrian Holovaty bc1cef4e7b magic-removal: Merged to [1671]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 03:27:45 +00:00
Adrian Holovaty 3e294964e9 magic-removal: Changed project_template not to create an 'apps' directory. Apps can go directly in the project directory, to avoid unnecessary directory depth
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 01:22:59 +00:00
Adrian Holovaty 00d434999e magic-removal: Changed app_template to create models.py instead of models package
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 01:21:55 +00:00
Adrian Holovaty f34d4fad4b magic-removal: More conversion of old-style module imports to new-style
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 01:04:23 +00:00
Adrian Holovaty 2478533c82 magic-removal: Changed get_list_or_404 to take the model class, not the magic model module
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 01:01:23 +00:00
Adrian Holovaty a56ba15f73 magic-removal: Changed get_object_or_404 to take the model class, not the magic model module
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 01:00:22 +00:00
Adrian Holovaty eaeb1acebc magic-removal: Moved django.contrib.comments models from a package to a module
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:55:22 +00:00