Load url template tag from future for support of Django versions 1.3 through 1.5.

This commit is contained in:
John Weaver 2013-01-30 09:14:48 -08:00
parent f7044f1107
commit 41eb35066d

View file

@ -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">