1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/auth_tests
Natalia 0ebed5fa95 Fixed #35678 -- Removed "usable_password" field from BaseUserCreationForm.
Refs #34429: Following the implementation allowing the setting of
unusable passwords via the admin site, the `BaseUserCreationForm` and
`UserCreationForm` were extended to include a new field for choosing
whether password-based authentication for the new user should be enabled
or disabled at creation time.
Given that these forms are designed to be extended when implementing
custom user models, this branch ensures that this new field is moved to
a new, admin-dedicated, user creation form `AdminUserCreationForm`.

Regression in e626716c28.

Thanks Simon Willison for the report, Fabian Braun and Sarah Boyce for
the review.
2024-08-19 12:39:57 -03:00
..
fixtures
models Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
templates
__init__.py
backend_alias.py
client.py
common-passwords-custom.txt
settings.py
test_admin_multidb.py Fixed #35520 -- Avoided opening transaction for read-only ModelAdmin requests. 2024-07-04 11:38:58 +02:00
test_auth_backends.py Used enterClassContext() where appropriate. 2024-01-04 05:55:29 +01:00
test_basic.py
test_checks.py Fixed #31405 -- Added LoginRequiredMiddleware. 2024-05-22 08:51:17 +02:00
test_context_processors.py
test_decorators.py Fixed #31405 -- Added LoginRequiredMiddleware. 2024-05-22 08:51:17 +02:00
test_forms.py Fixed #35678 -- Removed "usable_password" field from BaseUserCreationForm. 2024-08-19 12:39:57 -03:00
test_handlers.py
test_hashers.py Added test for acheck_password() to ensure make_password is called for unusable passwords. 2024-08-08 12:53:36 -03:00
test_management.py Fixed #35569 -- Improved wording of invalid ForeignKey error message. 2024-07-04 11:35:03 +02:00
test_middleware.py Fixed #31405 -- Added LoginRequiredMiddleware. 2024-05-22 08:51:17 +02:00
test_migrations.py
test_mixins.py
test_models.py Refs #35402 -- Added tests for invalid usage of submodules in some settings. 2024-08-13 16:09:52 +02:00
test_remote_user.py Used enterClassContext() where appropriate. 2024-01-04 05:55:29 +01:00
test_signals.py
test_templates.py
test_tokens.py
test_validators.py Refs #35402 -- Added tests for invalid usage of submodules in some settings. 2024-08-13 16:09:52 +02:00
test_views.py Fixed #31405 -- Added LoginRequiredMiddleware. 2024-05-22 08:51:17 +02:00
urls_admin.py
urls_custom_user_admin.py
urls.py Fixed #31405 -- Added LoginRequiredMiddleware. 2024-05-22 08:51:17 +02:00