| Age | Commit message (Collapse) | Author |
|
|
|
|
|
dummy crypt module.
|
|
define USERNAME_FIELD.
|
|
|
|
PermissionDenied.
|
|
|
|
|
|
first argument.
|
|
|
|
|
|
This is a security fix.
|
|
Test was added in 4c934f3921a59c7b3e088f6472b6f6da40848567 to verify that
the commend works when locale.getdefaultlocale() doesn't return a locale.
getdefaultlocale() no longer runs at runtime, so the test isn't needed.
|
|
view.
contrib.auth.views.login() has a new parameter `redirect_authenticated_user`
to automatically redirect authenticated users visiting the login page.
Thanks to dmathieu and Alex Buchanan for the original code and to Carl Meyer
for the help and review.
|
|
|
|
|
|
forms.
Also updated topics/auth/customizing.txt to reflect that subclasses of
UserCreationForm and UserChangeForm can be used with custom user models.
Thanks Baptiste Mispelon for the initial documentation.
|
|
|
|
|
|
|
|
Thanks to Tim Graham for the review.
|
|
After a user logs out via auth.views.logout(), they're redirected
to LOGOUT_REDIRECT_URL if no `next_page` argument is provided.
|
|
appropriate.
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
Added an optional `backend` argument to login().
|
|
Thanks to Tim for the review.
|
|
|
|
Thanks to Tim Graham for the review.
|
|
|
|
|
|
This is a relic of when the tests were stored in contrib.auth.tests.
|
|
The reverse() added in 50aa1a790ca66c2a93e0a52e00c53375b269ff49
crashed on a custom user model.
|
|
|
|
This avoids creating an empty list which is invalid HTML 4.
|
|
management command output.
|
|
|
|
|
|
Per deprecation timeline.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ForeignKey/OneToOneField
|
|
|
|
Thanks Carl Meyer for review.
|