summaryrefslogtreecommitdiffstats
path: root/templates/tunnelfiles.html
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2018-04-11 22:02:57 +0100
committerSam Wenham <sam@wenhams.co.uk>2018-04-11 22:02:57 +0100
commitffb5d7bdda5e35478a914ee822039f629b3af0fc (patch)
tree2cd893dd0bc7c99d41cb460f14d36f0c1e2e74ca /templates/tunnelfiles.html
parent242cf4741a945027fb43d3c6fb08922165c61bf0 (diff)
downloadtroggle-ffb5d7bdda5e35478a914ee822039f629b3af0fc.tar.gz
troggle-ffb5d7bdda5e35478a914ee822039f629b3af0fc.tar.bz2
troggle-ffb5d7bdda5e35478a914ee822039f629b3af0fc.zip
Upgrade to django 1.5, some functions have been changed
url in templates now requires quotes roung the first arg USE_TZ added
Diffstat (limited to 'templates/tunnelfiles.html')
-rw-r--r--templates/tunnelfiles.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/tunnelfiles.html b/templates/tunnelfiles.html
index caa3895..fbc74ea 100644
--- a/templates/tunnelfiles.html
+++ b/templates/tunnelfiles.html
@@ -11,7 +11,7 @@
<tr><th>File</th><th>Font</th><th>SurvexBlocks</th><th>Size</th><th>Paths</th><th>Scans folder</th><th>Scan files</th><th>Frames</th></tr>
{% for tunnelfile in tunnelfiles %}
<tr>
- <td><a href="{% url tunnelfile tunnelfile.tunnelpath %}">{{tunnelfile.tunnelpath}}</a></td>
+ <td><a href="{% url "tunnelfile" tunnelfile.tunnelpath %}">{{tunnelfile.tunnelpath}}</a></td>
<td>{{tunnelfile.bfontcolours}}</td>
<td></td>
<td>{{tunnelfile.filesize}}</td>
@@ -31,7 +31,7 @@
<td>
{% for rtunnelfile in tunnelfile.tunnelcontains.all %}
- <a href="{% url tunnelfile rtunnelfile.tunnelpath %}">{{rtunnelfile.tunnelpath}}</a>
+ <a href="{% url "tunnelfile" rtunnelfile.tunnelpath %}">{{rtunnelfile.tunnelpath}}</a>
{% endfor %}
</td>