Fix wrong url
This commit is contained in:
parent
a1234f6688
commit
4d177ac4d6
|
|
@ -10,14 +10,7 @@
|
|||
|
||||
<form method="post" class="mt-1">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
{{ form.new_password1.label_tag }}
|
||||
{{ form.new_password1 }}
|
||||
</div>
|
||||
<div>
|
||||
{{ form.new_password2.label_tag }}
|
||||
{{ form.new_password2 }}
|
||||
</div>
|
||||
{{ form.as_p }}
|
||||
<button class="btn mt-1" type="submit" name="action">{% trans 'Passwort zurücksetzen' %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -10,14 +10,8 @@
|
|||
|
||||
<form method="post" class="mt-1">
|
||||
{% csrf_token %}
|
||||
<div>
|
||||
{{ form.new_password1.label_tag }}
|
||||
{{ form.new_password1 }}
|
||||
</div>
|
||||
<div>
|
||||
{{ form.new_password2.label_tag }}
|
||||
{{ form.new_password2 }}
|
||||
</div>
|
||||
{{ form.as_p }}
|
||||
|
||||
<button class="btn mt-1" type="submit" name="action">{% trans 'Passwort speichern' %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ urlpatterns = [
|
|||
path('welcome/', SetPasswordView.as_view(), name='set_password'),
|
||||
path('set-password/done/', SetPasswordDoneView.as_view(), name='set_password_done'),
|
||||
path('set-password/<uidb64>/<token>/', SetPasswordConfirmView.as_view(), name='set_password_confirm'),
|
||||
path('set-password/done/', SetPasswordCompleteView.as_view(), name='set_password_complete'),
|
||||
path('set-password/complete/', SetPasswordCompleteView.as_view(), name='set_password_complete'),
|
||||
|
||||
# wagtail
|
||||
url(r'^cms/', include(wagtailadmin_urls)),
|
||||
|
|
|
|||
Loading…
Reference in New Issue