Django reset_password_confirm TemplateSyntaxError problem

后端 未结 8 1420
夕颜
夕颜 2020-12-13 20:39

when I use django.contrib.auth.views.password_reset_confirm without arguments at all it works and I can render the template without any problem, when adding

8条回答
  •  猫巷女王i
    2020-12-13 21:07

    I found this to work, copied from the default url

    url(r'^reset/(?P[0-9A-Za-z_\-]+)/(?P[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', auth_views.password_reset_confirm, name='password_reset_confirm'),

提交回复
热议问题