Commit Graph

1469 Commits

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