django1/tests/auth_tests
Sam Reynolds e74ca0226a [3.0.x] Fixed #30776 -- Restored max length validation on AuthenticationForm.UsernameField.
Regression in 5ceaf14686.

Thanks gopackgo90 for the report and Mariusz Felisiak for tests.

Backport of 6c9778a58e from master
2019-09-18 12:04:47 +02:00
..
fixtures Converted test fixtures to setUpTestData methods 2015-03-05 10:10:32 +11:00
models Fixed #29019 -- Added ManyToManyField support to REQUIRED_FIELDS. 2019-08-26 14:48:40 +02:00
templates Fixed spelling of "nonexistent". 2017-02-03 08:01:45 -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
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 Fixed #16860 -- Added password validation to django.contrib.auth. 2015-06-07 19:31:20 +02:00
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 Fixed #30066 -- Enabled super user creation without email and password 2019-08-29 12:49:16 +02: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 [3.0.x] Fixed #30776 -- Restored max length validation on AuthenticationForm.UsernameField. 2019-09-18 12:04:47 +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 #29019 -- Added ManyToManyField support to REQUIRED_FIELDS. 2019-08-26 14:48:40 +02:00
test_middleware.py Fixed #25847 -- Made User.is_(anonymous|authenticated) properties. 2016-04-09 14:54:18 -04:00
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 Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods. 2019-08-29 19:32:12 +02:00
test_remote_user.py Fixed #30037 -- Added request arg to RemoteUserBackend.configure_user(). 2019-01-09 20:01:04 -05:00
test_remote_user_deprecation.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 #30400 -- Improved typography of user facing strings. 2019-06-28 16:46:18 +02:00
test_views.py Fixed #12952 -- Adjusted admin log change messages to use form labels instead of field names. 2019-06-14 18:20:29 +02:00
urls.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