django1/django/contrib/auth
Hasan Ramezani 7af8f41273 Refs #26445 -- Allowed using UserManager.create_user()/create_superuser() in migrations.
Used app config to lookup user model in _create_user().

Thanks Markus Holtermann for the review and initial patch.
Thanks Simon Charette for the implementation idea.
2020-07-06 11:47:22 +02:00
..
handlers Refs #27795 -- Removed force_bytes() usage in contrib/auth/handlers/modwsgi.py. 2018-09-26 11:16:59 -04:00
locale Updated translations from Transifex. 2020-01-31 20:59:10 +01:00
management Reverted "Refs #23919 -- Removed obsolete __init__.py files in management command directories." 2020-06-01 10:55:41 +02:00
migrations Fixed #31371 -- Increased User.first_name max_length to 150 characters. 2020-03-18 08:22:49 +01:00
templates Refs #30585 -- Updated project templates and tests to use (block)translate tags. 2019-12-18 13:15:38 +01:00
__init__.py Refs #27468 -- Made user sessions use SHA-256 algorithm. 2020-04-29 16:45:00 +02:00
admin.py Used 4 space hanging indent for dictionaries. 2019-01-02 18:18:19 -05:00
apps.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
backends.py Refs #30037 -- Required the RemoteUserBackend.configure_user() to have request as the first positional argument. 2019-09-10 12:01:00 +02:00
base_user.py Refs #27468 -- Made user sessions use SHA-256 algorithm. 2020-04-29 16:45:00 +02:00
checks.py Fixed #31289 -- Added hint for USERNAME_FIELD/REQUIRED_FIELDS system check. 2020-02-26 08:40:36 +01:00
common-passwords.txt.gz Fixed #29952 -- Lowercased all passwords in contrib.auth's auth/common-passwords.txt.gz. 2018-11-15 14:11:03 -05:00
context_processors.py Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257. 2017-02-04 16:39:28 -05:00
decorators.py Removed unnecessary trailing commas and spaces in various code. 2017-12-28 21:07:29 +01:00
forms.py Changed django.forms.ValidationError imports to django.core.exceptions.ValidationError. 2020-04-28 10:49:00 +02:00
hashers.py Refs #31358 -- Added decode() to password hashers. 2020-06-23 08:36:59 +02:00
middleware.py Fixed #30941 -- Reverted "Simplified AuthenticationMiddleware a bit." 2019-11-13 16:33:25 +01:00
mixins.py Fixed #31443 -- Fixed login redirection in auth mixins when LOGIN_URL is off-site URL. 2020-06-23 10:38:35 +02:00
models.py Refs #26445 -- Allowed using UserManager.create_user()/create_superuser() in migrations. 2020-07-06 11:47:22 +02:00
password_validation.py Passed strict=True to Path.resolve() to enforce that the path must exist. 2019-11-05 14:22:20 +01:00
signals.py Fixed #31327 -- Deprecated providing_args argument for Signal. 2020-03-05 09:38:52 +01:00
tokens.py Refs #27468 -- Made PasswordResetTokenGenerator use SHA-256 algorithm. 2020-02-12 21:46:56 +01:00
urls.py Fixed comment in django/contrib/auth/urls.py. 2020-06-10 08:39:09 +02:00
validators.py Fixed #30257 -- Made UsernameValidators prohibit trailing newlines. 2019-03-22 13:16:25 -04:00
views.py Fixed #30747 -- Renamed is_safe_url() to url_has_allowed_host_and_scheme(). 2019-09-02 15:32:23 +02:00