Removed a blank line per isort and a trailing whitespace.
This commit is contained in:
parent
5da7e3f7fd
commit
412b4126d7
|
@ -1475,7 +1475,7 @@ implementation details see :ref:`using-the-views`.
|
||||||
will default to ``default_token_generator``, it's an instance of
|
will default to ``default_token_generator``, it's an instance of
|
||||||
``django.contrib.auth.tokens.PasswordResetTokenGenerator``.
|
``django.contrib.auth.tokens.PasswordResetTokenGenerator``.
|
||||||
|
|
||||||
* ``form_class``: Form that will be used to set the password. Defaults to
|
* ``form_class``: Form that will be used to set the password. Defaults to
|
||||||
:class:`~django.contrib.auth.forms.SetPasswordForm`.
|
:class:`~django.contrib.auth.forms.SetPasswordForm`.
|
||||||
|
|
||||||
* ``success_url``: URL to redirect after the password reset done. Defaults
|
* ``success_url``: URL to redirect after the password reset done. Defaults
|
||||||
|
|
|
@ -3,7 +3,6 @@ from django.contrib import admin
|
||||||
from django.contrib.auth import views
|
from django.contrib.auth import views
|
||||||
from django.contrib.auth.decorators import login_required
|
from django.contrib.auth.decorators import login_required
|
||||||
|
|
||||||
|
|
||||||
# special urls for deprecated function-based views
|
# special urls for deprecated function-based views
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^login/$', views.login, name='login'),
|
url(r'^login/$', views.login, name='login'),
|
||||||
|
|
Loading…
Reference in New Issue