1
0
mirror of https://github.com/django/django.git synced 2025-01-10 18:36:05 +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
templates
__init__.py
backend_alias.py
client.py
common-passwords-custom.txt
settings.py
test_admin_multidb.py
test_auth_backends.py
test_basic.py
test_checks.py
test_context_processors.py
test_decorators.py
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
test_management.py
test_middleware.py
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
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
urls_admin.py
urls_custom_user_admin.py
urls.py