0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/auth_tests
Aymeric Augustin 3ee0834a46 Fixed #30556 -- Avoided useless query and hasher call in ModelBackend.authenticate() when credentials aren't provided.
There's no need to fetch a user instance from the database unless
a username and a password are provided as credentials.
2019-06-10 11:12:31 +02:00
..
fixtures
models Fixed #11154, #22270 -- Made proxy model permissions use correct content type. 2019-01-16 10:07:28 -05:00
templates Fixed spelling of "nonexistent". 2017-02-03 08:01:45 -05:00
__init__.py
backend_alias.py
client.py Fixed #28780 -- Allowed specyfing a token parameter displayed in password reset URLs. 2019-05-24 08:40:25 +02:00
common-passwords-custom.txt
settings.py Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. 2017-01-20 08:01:02 -05:00
test_admin_multidb.py Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases. 2019-01-10 19:11:21 -05:00
test_auth_backends.py Fixed #30556 -- Avoided useless query and hasher call in ModelBackend.authenticate() when credentials aren't provided. 2019-06-10 11:12:31 +02:00
test_basic.py Moved AnonymousUser tests to its own test case. 2017-09-28 13:11:07 -04:00
test_checks.py Fixed #28776 -- Fixed a/an/and typos in docs and comments. 2017-11-06 22:41:03 -05:00
test_context_processors.py Fixed #28984 -- Made assorted code simplifications. 2018-01-03 13:24:02 -05:00
test_decorators.py Renamed camelCaseTestMethods to snake_case_test_methods 2019-04-14 16:14:14 +02:00
test_forms.py Fixed #29379 -- Added autocomplete attribute to contrib.auth.forms fields. 2019-06-07 12:44:39 +02:00
test_handlers.py Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_hashers.py Increased the default PBKDF2 iterations for Django 3.0. 2019-01-17 11:15:27 -05:00
test_management.py Fixed #11154, #22270 -- Made proxy model permissions use correct content type. 2019-01-16 10:07:28 -05:00
test_middleware.py
test_migrations.py Fixed #30351 -- Handled pre-existing permissions in proxy model permissions data migration. 2019-04-27 20:18:22 +02:00
test_mixins.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
test_models.py Refs #30226 -- Added User.get_user_permissions() method. 2019-06-05 13:56:37 +02:00
test_remote_user_deprecation.py Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user(). 2019-01-09 20:01:04 -05:00
test_remote_user.py Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user(). 2019-01-09 20:01:04 -05:00
test_signals.py Fixed #29132 -- Avoided connecting update_last_login() handler if User.last_login isn't a field. 2018-02-21 10:36:31 -05:00
test_templates.py Made reused RequestFactory instances class attributes. 2018-11-27 09:49:02 -05:00
test_tokens.py Reverted "Fixed #28248 -- Fixed password reset tokens being valid for 1 day longer than PASSWORD_RESET_TIMEOUT_DAYS." 2017-09-25 09:05:00 -04:00
test_validators.py Fixed #30257 -- Made UsernameValidators prohibit trailing newlines. 2019-03-22 13:16:25 -04:00
test_views.py Refs #24944 -- Added test for overriding domain in email context in PasswordResetView. 2019-05-27 11:50:30 +02:00
urls_admin.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
urls_custom_user_admin.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00
urls.py Refs #24944 -- Added test for overriding domain in email context in PasswordResetView. 2019-05-27 11:50:30 +02:00