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