django1/django/contrib/auth
Paul McMillan 413e37481d Fixes #17777 and makes tests run again.
Adds a salted MD5 hasher for backwards compatibility.
Thanks gunnar@g10f.de for the report.

Also fixes a bug preventing the hasher tests from being run during
contrib tests.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-29 20:12:16 +00:00
..
fixtures Fixed #13914 -- Added natural keys to User and Group models in auth contrib app. Thanks, jbochi and closedbracket. 2012-02-04 12:48:01 +00:00
handlers Small change to modpython auth handler to support Apache 2.2 2007-09-15 18:36:31 +00:00
locale Updated English base translation files in preparation of the alpha release so Transifex can pick them up. 2011-12-22 23:02:28 +00:00
management Introduce `ContentType.objects.get_for_models(*models)` and use it in the the auth permissions code. This is a solid performance gain on the test suite. Thanks to ptone for the profiling to find this hotspot, and carl for the review. 2011-10-12 20:51:59 +00:00
templates/registration Fixed #12202 -- Removed hardcoded password reset subject and added a subject_template_name parameter to the password_reset view. Thanks, Ramiro Morales, Claude Paroz and agabel. 2011-06-19 11:24:39 +00:00
tests Fixes #17777 and makes tests run again. 2012-02-29 20:12:16 +00:00
__init__.py Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
admin.py Fixed #16958 -- Correctly use the queryset method in the auth app's UserAdmin class. Thanks, mpaolini. 2012-02-09 18:57:40 +00:00
backends.py Removed the deprecated-since-1.2 "supports_object_permissions" and "supports_anonymous_user" flags on authentication backends. If you have an authenication backend it now *must* suport these. 2011-09-10 21:00:32 +00:00
context_processors.py Cleaned up how ``request.user`` is set, this is a follow up to [16297]. Thanks for the review Luke. 2011-05-31 15:43:19 +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 #4617 -- Added `raise_exception` option to `permission_required` decorator to be able to raise a PermissionDenied exception instead of redirecting to the login page. 2011-08-12 14:15:41 +00:00
forms.py Slightly improved the help text for the "Password" field in the `auth.User` admin form, and PEP8-cleaned up the area while I was there. 2012-01-02 14:51:25 +00:00
hashers.py Fixes #17777 and makes tests run again. 2012-02-29 20:12:16 +00:00
middleware.py Removed an unnecessary import 2011-06-06 12:11:48 +00:00
models.py Fixed #17504 -- Fixed normalization of email addresses that have '@' in the name when calling `User.objects.create_user`. Thanks, marw85. 2012-02-09 18:58:53 +00:00
signals.py Fixed #5612 -- Added login and logout signals to contrib auth app. Thanks SmileyChris and pterk. 2010-11-26 13:33:27 +00:00
tokens.py Fixed a test that was broken at r16978. Refs #17055. 2011-10-16 09:46:01 +00:00
urls.py Fixed #16789 -- Added names to URLs in convenience contrib.auth urls.py. 2011-09-24 19:48:27 +00:00
views.py Fixed #15266 -- Applied login_required decorator to password_change_done view. Thanks, lasko. 2011-06-26 16:51:25 +00:00