upgrade templates to named urls for django-1.8

This commit is contained in:
Uwe Kamper 2015-09-29 21:34:54 +02:00
parent 43260fb59f
commit ebe3a3a7e1
10 changed files with 17 additions and 18 deletions

View file

@ -9,7 +9,7 @@
{% endblock %}
{% block form_fields %}
<form action="{% url account.views.admin %}" method="post" class="form-horizontal well">
<form action="{% url 'admin' %}" method="post" class="form-horizontal well">
{% csrf_token %}
{{ form|crispy }}