Commit Graph

1475 Commits

Author SHA1 Message Date
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
Adrian Holovaty 036611724e magic-removal: Converted a bunch of stuff to use the new model import syntax
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:53:34 +00:00
Robert Wittams 9701daeb72 Allow importing of nested model modules.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:47:30 +00:00
Adrian Holovaty a57b462757 magic-removal: Removed django/views/rss, which was empty
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:34:40 +00:00
Adrian Holovaty bdb1776a8f magic-removal: Removed django/views/core, which was empty
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:33:33 +00:00
Adrian Holovaty 8f696be3b7 magic-removal: Removed get_model_module() call in django.db.models.fields
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:13:09 +00:00
Adrian Holovaty 867fdd5084 magic-removal: Removed get_model_module() call in django.contrib.admin.filterspecs
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:12:51 +00:00
Adrian Holovaty dac14ee6a4 magic-removal: Changed django.contrib.admin.templatetags.log to use new-style model import
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:03:41 +00:00
Adrian Holovaty 13edf04d6c magic-removal: Fixed bug in django.core.management.validate -- it used get_model_module
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:01:51 +00:00
Adrian Holovaty 2e9a29c307 magic-removal: Negligible spacing change
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14 23:38:31 +00:00
Robert Wittams 2961e0cc58 magic-removal: Fixed m2m set method
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14 23:37:21 +00:00