django1/django/contrib/auth
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
..
fixtures Refs #7521 -- Re-reverted [7716] (originally reverted in [7726]), now modified to use the new TestCase urlpattern framework. 2008-06-30 13:11:12 +00:00
handlers Small change to modpython auth handler to support Apache 2.2 2007-09-15 18:36:31 +00:00
management Fixed #6273 -- Added a 'changepassword' management command. Thanks to Ludvig Ericson and Justin Lilly for their work on this patch. 2010-01-29 08:10:29 +00:00
tests Fixed #12557 - AnonymousUser should check auth backends for permissions 2010-01-28 01:47:23 +00:00
__init__.py Fixed #12557 - AnonymousUser should check auth backends for permissions 2010-01-28 01:47:23 +00:00
admin.py Fixed #12804 - regression with decorating admin views. 2010-02-09 15:02:39 +00:00
backends.py Fixed #12557 - AnonymousUser should check auth backends for permissions 2010-01-28 01:47:23 +00:00
create_superuser.py Fixed #7392 -- Corrected a typo in the backwards-compatibility layer to the new createsuperuser command. 2008-06-08 08:45:14 +00:00
decorators.py Fixed #12804 - regression with decorating admin views. 2010-02-09 15:02:39 +00:00
forms.py Make use of new ability to override admin add form templates and removed a litle bit of redundancy in the templates. 2010-01-12 23:35:29 +00:00
middleware.py Fixed #689 -- Added a middleware and authentication backend to contrib.auth for supporting external authentication solutions. Thanks to all who contributed to this patch, including Ian Holsman, garthk, Koen Biermans, Marc Fargas, ekarulf, and Ramiro Morales. 2009-03-15 05:54:28 +00:00
models.py Fixed #12557 - AnonymousUser should check auth backends for permissions 2010-01-28 01:47:23 +00:00
tokens.py Fixed #10265: fixed a bug when generating a password reset token for a user created on the same request. Thanks, crucialfelix. 2009-04-01 21:25:24 +00:00
urls.py Tests for password change process. Thanks, Mike Richardson. Fixed #8402. 2008-08-23 18:20:49 +00:00
views.py Moved contrib.csrf.* to core code. 2009-10-27 00:36:34 +00:00