summaryrefslogtreecommitdiffstats
path: root/templates/survey.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/survey.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/survey.html')
-rw-r--r--templates/survey.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/survey.html b/templates/survey.html
index 9dca0df..13a8800 100644
--- a/templates/survey.html
+++ b/templates/survey.html
@@ -24,11 +24,11 @@
});
function redirectSurvey(){
- window.location = "{% url survey %}" + '/' + document.getElementById("expeditionChooser").value + "%23" + document.getElementById("surveyChooser").value;
+ window.location = "{% url "survey" %}" + '/' + document.getElementById("expeditionChooser").value + "%23" + document.getElementById("surveyChooser").value;
}
function redirectYear(){
- window.location = "{% url survey %}" + '/' + document.getElementById("expeditionChooser").value + "%23";
+ window.location = "{% url "survey" %}" + '/' + document.getElementById("expeditionChooser").value + "%23";
}
</script>