Commit Graph

1594 Commits

Author SHA1 Message Date
Adrian Holovaty 1833c53b21 magic-removal: Renamed get_method_name_part() to get_accessor_name()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-26 04:12:16 +00:00
Joseph Kocherhans faf9ff6316 magic-removal: Fixed some model tests that broke with removal of pluralization in [2111].
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-25 21:51:13 +00:00
Jacob Kaplan-Moss 650d26d32e magic-removal: removed django.parts.media -- it's cruft left over from Ellington that isn't helpful in Django at all
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-25 04:01:18 +00:00
Adrian Holovaty 7d23d1e798 magic-removal: Merged to [2120]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-24 00:49:16 +00:00
Adrian Holovaty b7891c560c magic-removal: Fixed #1264 -- Fixed missing import in manipulators.py. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 23:01:22 +00:00
Adrian Holovaty 8708245d96 magic-removal: Updated docs/model-api.txt to remove sections on 'exceptions' and 'module_constants' params to 'class Meta'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 04:37:24 +00:00
Adrian Holovaty ff474dffab magic-removal: Removed 'where_constraints' parameter to 'class Meta'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 04:36:08 +00:00
Adrian Holovaty c8c7f07190 magic-removal: Removed 'admin', 'exceptions' and 'module_constants' parameters to 'class Meta'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 04:35:02 +00:00
Adrian Holovaty d78533535f magic-removal: module_name is no longer a valid 'class Meta' attribute
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 03:08:10 +00:00
Adrian Holovaty 8ec8a8720e magic-removal: Unabstracted get_module_name() function, because it was only used once
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 03:06:39 +00:00
Adrian Holovaty e8b570c3c6 magic-removal: Fixed #1259 -- This is VERY backwards-incompatible! Normalized all table names to be singular. Added 'django_' prefix to core tables that didn't have it. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 02:50:15 +00:00
Adrian Holovaty 75c4013a21 magic-removal: Moved FieldDoesNotExist exception to django.db.models.fields and removed django.db.models.exceptions
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 02:41:01 +00:00
Adrian Holovaty 766ee9aeb2 magic-removal: Removed BadKeywordArguments exception, which wasn't being used.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 02:37:01 +00:00
Adrian Holovaty fcdc826e2c magic-removal: Removed BadCommand exception, which wasn't being used.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 02:36:11 +00:00
Adrian Holovaty 69120fa9d3 magic-removal: Changed delete() safety-mechanism logic to happen as soon as possible.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 02:34:07 +00:00
Adrian Holovaty 25e1e1392f magic-removal: Refactored get_installed_models and get_installed_model_modules to get_apps, get_app, get_models and get_model
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 02:29:34 +00:00
Adrian Holovaty 17ece1adb8 magic-removal: Got rid of django.utils.datastructures.dot_expand, which wasn't being used
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-22 06:51:35 +00:00
Adrian Holovaty 63b158ecb4 magic-removal: Restored FileField validation stuff that had been commented out.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-22 06:44:05 +00:00
Adrian Holovaty d6b154a888 magic-removal: Restored manipulators to code from trunk, removing the unfinished stuff
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-22 06:38:54 +00:00
Adrian Holovaty 6eb3c1418f magic-removal: Renamed 'type' variable to 'model' in ManipulatorDescriptor to be more readable
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-22 06:00:27 +00:00
Adrian Holovaty 6d9b4f443c magic-removal: Negligible changes to ManipulatorDescriptor
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-22 05:53:36 +00:00
Adrian Holovaty 107f097a98 magic-removal: Changed breadcrumb on admin model docs page to use object_name, not verbose_name
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-21 22:45:06 +00:00
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