Upgrade to django 1.5, some functions have been changed

url in templates now requires quotes roung the first arg
USE_TZ added
This commit is contained in:
Sam Wenham
2018-04-11 22:02:57 +01:00
parent 242cf4741a
commit ffb5d7bdda
34 changed files with 104 additions and 103 deletions

View File

@@ -36,7 +36,7 @@
{{ ent.entrance_letter|safe }}
{% if ent.entrance.name %}
{{ ent.entrance.name|safe }}
{% endif %}<a href="{% url editentrance cave.slug ent.entrance.slug %}">Edit</a>
{% endif %}<a href="{% url "editentrance" cave.slug ent.entrance.slug %}">Edit</a>
<dl>
{% if ent.entrance.marking %}
<dt>Marking</dt><dd>{{ ent.entrance.marking_val|safe }}</dd>
@@ -96,7 +96,7 @@
</ul>
{% endif %}</p>
<a href="{% url newentrance cave.slug %}">New Entrance</a>
<a href="{% url "newentrance" cave.slug %}">New Entrance</a>
</div>
<div id="Description">