Commit Graph

1436 Commits

Author SHA1 Message Date
Adrian Holovaty 8d1dbddd75 magic-removal: Added helpful error message during 'sql, 'sqlall' and 'install' django-admin commands if DATABASE_ENGINE is blank
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 14:55:22 +00:00
Adrian Holovaty 1db708d4d7 magic-removal: Merged to [1817]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-04 17:06:16 +00:00
Adrian Holovaty d694478813 magic-removal: Merged to [1809]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-31 04:11:01 +00:00
Adrian Holovaty 029efcd089 magic-removal: Django no longer requires a database. Moved database-handling stuff in django handlers to use dispatching
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-31 00:08:49 +00:00
Adrian Holovaty 76bc09a09a magic-removal: Fixed bug in error message when DATABASE_ENGINE setting is invald.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-30 23:42:57 +00:00
Adrian Holovaty c3aa635650 magic-removal: Negligible spacing fix
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-30 23:26:46 +00:00
Adrian Holovaty 8921893576 magic-removal: Changed get_introspection_module and get_creation_module in db/init.py to be lambda functions
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-30 23:22:07 +00:00
Adrian Holovaty 189cb2800f magic-removal: Added 'dummy' database backend, which is used as a fallback if DATABASE_ENGINE isn't set
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-30 23:21:02 +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 9d5272d61d magic-removal: Fixed #1141 -- Fixed unit-test failures in [1799]. Thanks, Russ
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-30 15:51:53 +00:00
Adrian Holovaty a22a7ff4d0 magic-removal: Removed some debug print statements
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-30 15:49:20 +00:00
Robert Wittams 85ef615c42 magic-removal: Some validation fixes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 21:42:39 +00:00
Adrian Holovaty 8fae40894a magic-removal: Merged to [1795]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 20:43:51 +00:00
Adrian Holovaty b343704398 magic-removal: Merged to [1793]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 19:22:02 +00:00
Adrian Holovaty d382abc875 magic-removal: Fixed #1136: Removed duplicated DB joins resulting from kwarg evaluation. Thanks, Russ Magee
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 19:11:00 +00:00
Robert Wittams dc5eb659fa magic-removal: steps towards ordering in edit-inline and spreadsheetish editing in changelists using ManipulatorCollections.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-26 16:16:11 +00:00
Robert Wittams 2466d9b0f1 magic-removal: changed how child manipulators are stored in preparation for reordering and paging.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 17:54:37 +00:00
Adrian Holovaty 5c0fe75d44 magic-removal: Merged to [1774]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 04:51:17 +00:00
Robert Wittams 4bf7d2c81c magic-removal: Command fixes. Add & remove now work properly with errors, and it works in both stacked and tabular views.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-23 18:02:20 +00:00
Robert Wittams 4d3374c652 magic-removal: command stuff for stacked inline editing
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-23 13:40:09 +00:00
Robert Wittams c017d60d15 magic-removal: command fallbacks working for tabular inline editing in change stage
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-23 11:49:54 +00:00
Robert Wittams 1e36a28d67 magic-removal:small amount of command stuff.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-23 01:31:37 +00:00
Robert Wittams df36122320 magic-removal: start of command functionality for manipulators. This will provide the fallback functionality for inline editing in the admin without JS.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-23 00:02:47 +00:00
Robert Wittams a422575d4b magic-removal: Start of core fields removal. edit-inline functionality does not offer a way to add or delete items right now.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-22 19:23:34 +00:00
Robert Wittams 79ad41be03 magic-removal: Manipulator and deletion fixes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-22 15:07:36 +00:00
Adrian Holovaty 7b7d1e8939 magic-removal: Merged to [1758]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 03:39:27 +00:00
Adrian Holovaty 2d4acdc278 magic-removal: Fixed #1082 -- Added a 'supports_constraints' variable for each database backend, and set SQLite's to False
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 02:58:20 +00:00
Adrian Holovaty aa9fa3408d magic-removal: Removed unnecessary comments from sqlite backend base.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 02:56:08 +00:00
Adrian Holovaty f7e66f038d magic-removal: Merged to [1754]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 02:49:44 +00:00
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
Robert Wittams fe524625ed magic-removal: ManipulatorDescriptor simplification.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 00:28:36 +00:00
Robert Wittams d316f6a8cd magic-removal: Small manipulator simplification. Deletion fix for edit inline.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 00:12:45 +00:00
Robert Wittams 3ee086f80d magic-removal: Moved related field processing to module level functions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 23:52:18 +00:00
Robert Wittams f7c5321964 magic-removal:Move some field specific stuff out of the options preparation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 22:48:18 +00:00
Robert Wittams 050351c339 magic-removal: removed circular reference from options to model class
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 22:17:25 +00:00
Adrian Holovaty 5eddd9612d magic-removal: Changed django.core.validators to use gettext() instead of magic _() function, to fix weird bug in unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 17:23:55 +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 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