django/tests/auth_tests
Jay Cox eef95ea96f Fixed #24696 -- Made CSRF_COOKIE computation lazy.
Only compute the CSRF_COOKIE when it is actually used. This is a
significant speedup for clients not using cookies.

Changed result of the “test_token_node_no_csrf_cookie” test:  It gets
a valid CSRF token now which seems like the correct behavior.

Changed auth_tests.test_views.LoginTest.test_login_csrf_rotate to
use get_token() to trigger CSRF cookie inclusion instead of changing
request.META["CSRF_COOKIE_USED"] directly.
2015-05-02 19:45:14 -04:00
..
fixtures Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
models Fixed #24161 -- Stored the user primary key as a serialized value in the session. 2015-02-12 07:38:16 -05:00
templates Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
__init__.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
backend_alias.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
settings.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
test_auth_backends.py Fixed #24161 -- Stored the user primary key as a serialized value in the session. 2015-02-12 07:38:16 -05:00
test_basic.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
test_context_processors.py Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
test_decorators.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
test_forms.py Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
test_handlers.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
test_hashers.py Fixed #24115 -- Allowed bcrypt hashers to upgrade passwords on rounds change. 2015-03-30 18:52:59 -04:00
test_management.py Fixed #23926 -- Improved validation error for custom permissions that are too long. 2015-03-16 12:13:49 -04:00
test_middleware.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
test_models.py Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
test_remote_user.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
test_signals.py Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
test_templates.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
test_tokens.py Use mock.patch in migrations tests 2015-04-09 11:16:12 +10:00
test_views.py Fixed #24696 -- Made CSRF_COOKIE computation lazy. 2015-05-02 19:45:14 -04:00
urls.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
urls_admin.py Moved contrib.auth tests out of contrib. 2015-02-11 10:19:22 -05:00
urls_custom_user_admin.py Fixed #24334 -- Allowed admin password reset to work with non-digit custom user model primary key. 2015-02-13 09:42:49 -05:00