Commit Graph

1572 Commits

Author SHA1 Message Date
Adrian Holovaty b4a454f956 magic-removal: Fixed #1253 -- Got admin doc for models working.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 22:41:56 +00:00
Adrian Holovaty 882c7c1885 magic-removal: Fixed #1252 -- Fixed bug in admin doc views. Thanks, the.twentysixth
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 21:20:12 +00:00
Adrian Holovaty 387f453db5 magic-removal: Changed inner-class name in models from MANIPULATOR to Manipulator
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 06:40:52 +00:00
Adrian Holovaty 43d6bef62b magic-removal: Removed AdminBoundManipulator
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 06:23:16 +00:00
Adrian Holovaty 8e1e0adfc7 magic-removal: Small cleanup of AdminOptions, AdminFieldSet, AdminFieldLine
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 06:04:21 +00:00
Adrian Holovaty 6505ae5c2f magic-removal: Collapsed BoundField, BoundFieldLine, FieldLine, BoundFieldSet, FieldSet and BoundManipulator to continue code simplification
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 05:54:36 +00:00
Adrian Holovaty f664a284e7 magic-removal: Fixed bug in manipulator_validator_unique_for_date
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 05:37:25 +00:00
Adrian Holovaty 2348f8fcef magic-removal: Removed auto_populated_fields and javascript_imports attributes of AdminBoundManipulator
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 05:23:16 +00:00
Adrian Holovaty 05c01c71a4 magic-removal: Simplified some code in admin.templatetags.admin_modify
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 05:15:29 +00:00
Adrian Holovaty 92d2b01a44 magic-removal: Continued simplification of AdminBoundManipulator -- Removed has_absolute_url attribute
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:36:35 +00:00
Adrian Holovaty f99dd1d542 magic-removal: Fixed bug in [2085]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:34:36 +00:00
Adrian Holovaty 4e78c1b389 magic-removal: Simplified AdminBoundManipulator.form_enc_attrib attribute
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:28:23 +00:00
Adrian Holovaty fe70b49661 magic-removal: Removed unused 'show_delete' argument in admin.views.main.render_change_form
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:23:00 +00:00
Adrian Holovaty 861960f311 magic-removal: Continued simplification of AdminBoundManipulator. Removed a few of its attributes
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:21:54 +00:00
Adrian Holovaty cdb7a51098 magic-removal: Simplified admin.views.main.get_javascript_imports()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:10:46 +00:00
Adrian Holovaty d6629224c3 magic-removal: Changed a 'HACK' to a 'TODO' in a comment
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:10:27 +00:00
Adrian Holovaty 4f6f777bc7 magic-removal: Began simplification of AdminBoundManipulator. Changed admin/change_form template to add 'opts' to template context.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:06:26 +00:00
Adrian Holovaty 39fec03db6 magic-removal: Simplified code in admin.templatetags.admin_modify.submit_row
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 04:01:00 +00:00
Adrian Holovaty 6ce5f51c55 magic-removal: Merged to [2079]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 03:30:35 +00:00
Adrian Holovaty f71f56785d magic-removal: Simplified db.models.fields.BoundField. Removed as_field_list() method, which wasn't used anywhere, and unabstracted resolve_form_fields() method.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 03:23:58 +00:00
Joseph Kocherhans de5ea1d18c magic-removal: fixed some broken urls for post-add redirects in the admin system.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-20 17:43:14 +00:00
Adrian Holovaty ee1a1eb519 magic-removal: Fixed #1249 -- Fixed bug in manipulator_validator_unique
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 20:52:30 +00:00
Joseph Kocherhans 32cf0aabd1 magic-removal: Fixed post_url_continue link for the admin system's add_stage.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 16:52:30 +00:00
Adrian Holovaty 12463932d3 magic-removal: Simplified a redundant import in django.db.models.manipulators
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 04:02:55 +00:00
Adrian Holovaty cf0406d5ea magic-removal: Removed support for '_preview' in admin POST data. This idea was never fully realized.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:42:18 +00:00
Adrian Holovaty a1b6457313 magic-removal: Removed support for old-style undocumented '_or' syntax in DB queries.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:33:30 +00:00
Adrian Holovaty 5954baf5e9 magic-removal: Merged to [2068]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:30:53 +00:00
Adrian Holovaty df6c666fe3 magic-removal: Merged to [2066]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:25:50 +00:00
Adrian Holovaty 6a91c0d558 magic-removal: Fixed URL-calculating logic in adminapplist template library
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:22:09 +00:00
Adrian Holovaty aa4039a4c5 magic-removal: Removed {% load breadcrumbs %} calls from admin templates
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:21:29 +00:00
Adrian Holovaty 06d23144bc magic-removal: Fixed breadcrumb links and removed path_breadcrumbs templatetag, which is no longer needed
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:12:40 +00:00
Adrian Holovaty 71e2df77d3 magic-removal: The start of changes to admin code. Moved views/changelist to views/main. Refactored URLs to use old-style app_label/model_name. Removed a lot of cruft that was necessary due to non-app_label/model name URLs.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:06:01 +00:00
Adrian Holovaty 8a140005ff magic-removal: Removed core_models argument to get_installed_model_modules(). It's no longer necessary because there are no core models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 02:29:40 +00:00
Adrian Holovaty 233254d634 magic-removal: Merged to [2059]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 01:09:28 +00:00
Adrian Holovaty 58605bcfe3 magic-removal: Merged to [2056]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 00:55:18 +00:00
Adrian Holovaty a4ead45cb2 magic-removal: Simplified a few lines in admin.views.main to use _get_pk_val()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 00:44:56 +00:00
Adrian Holovaty 85951a64b8 magic-removal: Simplified code in admin.views.main -- removed log_change_message() function
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 00:43:22 +00:00
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