daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. NoReverseMatch at /reset/. Reversefor'password_reset_confirm' with
  2. keyword arguments '{'uidb64': 'NQ', 'token':'533-3b115e87321ed5f71bbe'}'    
  3. not found
  4.    
  5. from django.contrib import admin
  6. import boards
  7. from django.urls import include, path, re_path
  8. from django.contrib.auth import views as auth_views
  9.  
  10. urlpatterns = [
  11.     path('boards/', include('boards.urls')),
  12.     path('reset/', auth_views.PasswordResetView.as_view(
  13.         template_name='boards/password_reset.html',
  14.         email_template_name='boards/password_reset_email.html',
  15.         subject_template_name='boards/password_reset_subject.txt',
  16.     ), name='password_reset'),
  17.     path('reset/done/', auth_views.PasswordResetDoneView.as_view(
  18.         template_name='boards/password_reset_done.html'
  19.     ), name='password_reset_done'),
  20.     re_path('reset/<uidb64>/<token>    /',auth_views.PasswordResetConfirmView.as_view(
  21.     template_name='boards/password_reset_confirm.html'),
  22.     name='password_reset_confirm'),
  23.     path('reset/complete/',     auth_views.PasswordResetCompleteView.as_view(
  24.     template_name='boards/password_reset_complete.html'
  25.  
  26. ), name='password_reset_complete'),
  27.     path('setting/password/',     auth_views.PasswordChangeView.as_view(template_name =     'boards/password_change.html'),name='password_change'),
  28.     path('setting/password/done/',     auth_views.PasswordChangeDoneView.as_view(template_name='boards/password_cha    nge_done.html'), name='password_change_done'),
  29.     path('admin/', admin.site.urls),
  30. ]
  31.    
  32. {{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top