Commit Graph

1535 Commits

Author SHA1 Message Date
Adrian Holovaty 41e788c17a magic-removal: Simplified code in admin.views.main -- removed log_add_message() function
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 00:40:56 +00:00
Adrian Holovaty f1a33994f4 magic-removal: Removed _get_mod_opts() call in django.contrib.admin.views.main.history
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 00:32:47 +00:00
Joseph Kocherhans 9f4d2d5d27 magic-removal: Updated docs to reflect new location of django.core.extensions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-18 19:03:19 +00:00
Joseph Kocherhans 471bae17fa magic-removal: Moved django.core.extensions to django.shortcuts and updated references.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-18 19:02:35 +00:00
Russell Keith-Magee 5f2ffee66e magic-removal: Refs #1219 -- added documentation for bulk delete feature.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-18 13:25:13 +00:00
Russell Keith-Magee 186c09d96f magic-removal: Refs 1219 -- Added DELETE_ALL=True safety mechanism to prevent accidental deletion of entire table contents.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-18 13:16:58 +00:00
Adrian Holovaty c2d468095d magic-removal: Simplified AdminBoundField.existing_display() logic to use a single method instead of three
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-18 01:52:28 +00:00
Adrian Holovaty a4e14b451c magic-removal: Cleaned up DjangoContext import in django/contrib/admin/views/main.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 23:05:22 +00:00
Adrian Holovaty c4e2e4e881 magic-removal: Continued cleanup of various messiness in admin code. Tightened sprawling django.contrib.admin.views.stages package into django.contrib.admin.views.main module, as previously organized.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 22:57:50 +00:00
Adrian Holovaty 795e6cbcf2 magic-removal: Cleaned up various messiness in admin code
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 22:24:39 +00:00
Adrian Holovaty 7592ca69af magic-removal: Removed ignore_objects argument to delete() and added some docs and comments to that function
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 22:01:14 +00:00
Adrian Holovaty c85e3d4a2a magic-removal: Added some unit tests to many_to_one that verify deletion of related objects
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 21:55:07 +00:00
Adrian Holovaty 5c970704fe magic-removal: Refactored database-access code to use Model._get_pk_val() for simplicity
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 20:00:30 +00:00
Adrian Holovaty 6e8d06572a magic-removal: Removed _pre_save(), _post_save(), _pre_delete() and _post_delete() hooks. Just subclass the save() and delete() methods now.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 19:27:27 +00:00
Adrian Holovaty 51d2de6a56 magic-removal: Changed save_delete_hooks unit test to use new convention for overriding save() and delete()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 19:18:24 +00:00
Adrian Holovaty 6074e49daa magic-removal: Merged to [2034]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 17:57:27 +00:00
Adrian Holovaty f1cf65c7bc magic-removal: Fixed bug in mysql backend with DEBUG=True
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 17:45:40 +00:00
Adrian Holovaty 05c3097f0f magic-removal: Tiny code cleanups in db.models modules, and removed ManyToManyFieldNew (which was never finished)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 17:23:18 +00:00
Georg Bauer 464271a273 Refs #1212 - moved settings from a dedicated module into a dedicated global instance
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 14:19:10 +00:00
Russell Keith-Magee c983ab3e16 magic-removal: Fixed template unit tests. Corrected expected output for 'spaceless' tests, added extra error condition for cycle tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 12:47:12 +00:00
Russell Keith-Magee 00f93bc7bb magic-removal: Fixed #1219 - Added bulk delete for objects.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 12:06:16 +00:00
Adrian Holovaty d9780b7bd5 magic-removal: Removed OrderingField.contribute_to_class(), which wasn't doing anything.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 05:30:16 +00:00
Adrian Holovaty 5dda10f2ef magic-removal: Changed AutoField.contribute_to_class() to use 'assert' instead of 'if'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 05:27:02 +00:00
Adrian Holovaty c7fc2bfb68 magic-removal: Changed 'app_package' variable name in ModelBase.__new__ and made slight sys.modules optimization
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 05:21:23 +00:00
Adrian Holovaty 8816af6714 magic-removal: Changed default model.__init__() docstring to remove module_name and use field.attname instead of field.name
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 00:44:06 +00:00
Adrian Holovaty a0433627a0 magic-removal: Fixed links on delete 'Are you sure' page
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 00:06:47 +00:00
Adrian Holovaty ad0b474a8b Removed unused module_name reference in django.contrib.admin.templatetags.adminapplist
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-17 00:03:15 +00:00
Adrian Holovaty 40d4782263 magic-removal: Changed Options.__repr__ to use object_name, not module_name (which is going away)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 23:52:20 +00:00
Adrian Holovaty fd44a02a1a magic-removal: Negligible spacing fixes
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 23:44:16 +00:00
Adrian Holovaty ae4f89436f magic-removal: Added helpful error message if a model contains a field named 'Admin' that isn't admin settings
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 23:44:06 +00:00
Adrian Holovaty 2a04bb9b58 magic-removal: Changed variable name in django.db.models.base.Model.add_to_class()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 23:35:09 +00:00
Adrian Holovaty 90ff521e4e magic-removal: Simplified overengineered 'attribute_transforms' code in django/db/models/base.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 23:27:59 +00:00
Adrian Holovaty 1eacb0f6ed magic-removal: Negligible formatting cleanups in django/db/models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 23:11:12 +00:00
Adrian Holovaty f2370573bc magic-removal: Merged to [2014]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 21:45:27 +00:00
Adrian Holovaty b02bb933fd magic-removal: Merged to [2012]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 19:00:24 +00:00
Adrian Holovaty d6bf53760b magic-removal: Merged to [2010]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 18:56:44 +00:00
Georg Bauer 2221cdabff magic-removal: changed explicit settings import to qualified settings import - last part, this is all in django.template
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:34:03 +00:00
Georg Bauer 41e36aba95 magic-removal: changed explicit settings import to qualified settings import in django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:27:30 +00:00
Georg Bauer 679b8f0d06 magic-removal: changed explicit settings import to qualified settings import in django.core.mail
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:26:10 +00:00
Georg Bauer 307b95b45b magic-removal: changed explicit settings import to qualified settings import in django.core.validators
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:24:37 +00:00
Georg Bauer e3ecd5eeb4 magic-removal: changed explicit settings import to qualified settings import in django.core.context_processors
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:24:06 +00:00
Georg Bauer c5e944a7e2 magic-removal: changed explicit settings import to qualified settings import in django.core.cache
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:23:15 +00:00
Georg Bauer ba787be1af magic-removal: changed explicit settings import to qualified settings import in django.core.xheaders
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:22:40 +00:00
Georg Bauer 02ea6a4074 magic-removal: changed explicit settings import to qualified settings import in django.core.handlers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:22:01 +00:00
Georg Bauer 179beccfea magic-removal: changed explicit settings import to qualified settings import in django.core.servers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:20:38 +00:00
Georg Bauer cdef2c15df magic-removal: changed explicit settings import to qualified settings import in django.db
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:19:18 +00:00
Georg Bauer c1fbb8682c magic-removal: changed explicit settings import to qualified settings import in django.contrib.comments
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:15:42 +00:00
Georg Bauer 596ee7e14b magic-removal: changed explicit settings import to qualified settings import in django.contrib.sessions
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:07:24 +00:00
Georg Bauer abeb5681b4 magic-removal: changed explicit settings import to qualified settings import in django.contrib.flatpages
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1996 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:04:06 +00:00
Georg Bauer 0aca6e1d1d magic-removal: changed explicit settings import to qualified settings import in django.contrib.syndication
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 15:02:57 +00:00