django1/django/contrib/admin
Luke Plant 4bff194633 Fixed #12804 - regression with decorating admin views.
This is a BACKWARDS INCOMPATIBLE change, because it removes the flawed
'auto_adapt_to_methods' decorator, and replaces it with 'method_decorator'
which must be applied manually when necessary, as described in the 1.2
release notes.

For users of 1.1 and 1.0, this affects the decorators:

 * login_required
 * permission_required
 * user_passes_test

For those following trunk, this also affects:

 * csrf_protect
 * anything created with decorator_from_middleware 

If a decorator does not depend on the signature of the function it is
supposed to decorate (for example if it only does post-processing of the
result), it will not be affected.
 



git-svn-id: http://code.djangoproject.com/svn/django/trunk@12399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-09 15:02:39 +00:00
..
media Fixed #12748 - Use charAt instead of array-like access to format string to please IE. Thanks, yedpodtrzitko. 2010-02-07 14:42:16 +00:00
templates Fixed #12716 - Typo in the admin change list template. Thanks, kbrownlees. 2010-02-07 15:55:40 +00:00
templatetags Changed a whole bunch of places to raise exception instances instead of old-style raising exception classes plus a comma. Good for the future Python 3 conversion 2010-01-10 18:36:20 +00:00
views Changed a whole bunch of places to raise exception instances instead of old-style raising exception classes plus a comma. Good for the future Python 3 conversion 2010-01-10 18:36:20 +00:00
__init__.py Fixed #10887 -- Fixed a possible gotcha in admin.autodiscover() by moving import_module() outside the try/except. Thanks, lsaffre 2010-01-10 18:56:53 +00:00
actions.py Fixed #10997: fixed a Python 2.4-ism in admin actions. 2009-05-08 09:57:47 +00:00
filterspecs.py Fixed #9969: choices with options groups (added in [7977]) now work correctly in the admin with list_display and list_filter. Thanks, ramiro. 2009-04-01 14:14:20 +00:00
helpers.py Fixed #12700 - Take read-only fields into account when rendering the empty form for dynamic inlines. 2010-02-01 14:13:47 +00:00
models.py Merged the newforms-admin branch into trunk. 2008-07-18 23:54:34 +00:00
options.py Fixed #12804 - regression with decorating admin views. 2010-02-09 15:02:39 +00:00
sites.py Fixed #8933 - Allow more admin templates to be overridden. 2010-01-12 23:34:46 +00:00
util.py Fixed #12654 - Correctly display ForeignKey fields in read-only scenarios. Thanks, minmax. 2010-02-01 14:12:56 +00:00
validation.py ModelAdmin.fields wasn't able to refer to fields only on a custom form 2010-01-23 16:44:42 +00:00
widgets.py Fixed #12444 - Date based widgets now correctly handle input values when using locale-aware formatting. Also fixes #7656. 2009-12-30 22:11:48 +00:00