django1/django/contrib/auth
Aymeric Augustin 7331788300 Avoided rewrapping Contexts in render_to_response.
This change preserves backwards-compatibility for a very common misuse
of render_to_response which even occurred in the official documentation.

It fixes that misuse wherever it happened in the code base and docs.

Context.__init__ is documented as accepting a dict and nothing else.
Since Context is dict-like, Context(Context({})) could work to some
extent. However, things get complicated with RequestContext and that
gets in the way of refactoring the template engine. This is the real
rationale for this change.
2014-11-22 17:58:38 +01:00
..
fixtures Whitespace cleanup. 2013-10-10 16:49:20 -04:00
handlers Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
locale Updated translations from Transifex 2014-09-30 20:55:50 +02:00
management Use "catch" instead of "trap" for exceptions. 2014-09-08 22:23:44 +02:00
migrations Fixed #23294 -- Add related_name to existing migrations. 2014-08-15 12:39:06 -04: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 Avoided rewrapping Contexts in render_to_response. 2014-11-22 17:58:38 +01:00
__init__.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
admin.py Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin. 2014-04-25 08:20:25 -04:00
apps.py Fixed #23750 -- Allowed core.checks.register to be used as a function 2014-11-11 16:29:32 +01:00
backends.py Restored is_anonymous() check in ModelBackend permission checking removed in refs #17903. 2014-06-24 07:09:38 -04:00
checks.py Edited contrib.auth check messages for grammar and consistency. 2014-03-03 13:39:58 +08:00
context_processors.py Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
decorators.py Fixed many typos in comments and docstrings. 2014-03-03 07:38:09 -05:00
forms.py Fixed #23409 -- Extract PasswordResetForm.get_users method. 2014-09-03 12:25:11 -06:00
hashers.py Simplified caching of password hashers. 2014-11-19 21:35:39 +01:00
middleware.py Fixed #23066 -- Modified RemoteUserMiddleware to logout on REMOTE_USER change. 2014-08-20 14:39:40 -04:00
models.py Fixed #23488 -- Added AnonymousUser.get_username(). 2014-09-18 10:48:28 -04:00
signals.py Fixed #18616 -- added user_login_fail signal to contrib.auth 2012-09-30 22:34:50 -07:00
tokens.py Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null. 2014-08-01 17:51:49 -04:00
urls.py Fixed #22218 -- Deprecated django.conf.urls.patterns. 2014-04-03 07:28:10 -04:00
views.py Fixed #23793 -- Clarified password reset messages. 2014-11-15 16:29:13 +01:00