PEP8
This commit is contained in:
parent
7a4a836d6e
commit
704cd3e0fc
2 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,2 @@
|
|||
from django.db import models
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
|
|
@ -53,11 +53,14 @@ urlpatterns = [
|
|||
Home.as_view(),
|
||||
name='password_reset_done'),
|
||||
# PASS RESET CONFIRM
|
||||
url('^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
|
||||
url('^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/'
|
||||
'(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
|
||||
auth_views.password_reset_confirm,
|
||||
{
|
||||
'template_name': 'user/user_form.html',
|
||||
'post_reset_redirect': reverse_lazy('user:password_reset_complete'),
|
||||
'post_reset_redirect': reverse_lazy(
|
||||
'user:password_reset_complete'
|
||||
),
|
||||
'extra_context': {
|
||||
'page_title': 'Changer de mot de passe',
|
||||
'button': 'Changer'
|
||||
|
|
Loading…
Reference in a new issue