mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-03-16 20:10:24 +00:00
Load url template tag from future for support of Django versions 1.3 through 1.5.
This commit is contained in:
parent
f7044f1107
commit
41eb35066d
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
{% load url from future %}
|
||||
{% if note %}
|
||||
<h2>{{ note }}</note>
|
||||
{% else %}
|
||||
|
|
@ -8,7 +9,7 @@
|
|||
|
||||
<h2>Accept Terms of Service?</h2>
|
||||
|
||||
<form method="post" action="{% url tos_check_tos %}">
|
||||
<form method="post" action="{% url "tos_check_tos" %}">
|
||||
{% csrf_token %}
|
||||
<input type="submit" name="accept" value="accept">
|
||||
<input type="submit" name="accept" value="reject">
|
||||
|
|
|
|||
Loading…
Reference in a new issue