1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00
django/tests
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
..
modeltests Fixed #12804 - regression with decorating admin views. 2010-02-09 15:02:39 +00:00
regressiontests Fixed #12804 - regression with decorating admin views. 2010-02-09 15:02:39 +00:00
templates Fixed #8933 - Allow more admin templates to be overridden. 2010-01-12 23:34:46 +00:00
runtests.py Fixed #12624 -- Modified test runners to be class based. 2010-01-18 15:11:01 +00:00
urls.py Fixed #6094 -- Middleware exceptions are now caught by the core handler. Thanks, isagalaev 2010-01-10 17:35:01 +00:00