summaryrefslogtreecommitdiffstats
path: root/templates/editfile.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
commit789c33fcb6694544abb3991ccd3691a175216a55 (patch)
tree2cd893dd0bc7c99d41cb460f14d36f0c1e2e74ca /templates/editfile.html
parent0ef4f7832c6b50c3921ff2629240404a77cdf33b (diff)
downloadtroggle-789c33fcb6694544abb3991ccd3691a175216a55.tar.gz
troggle-789c33fcb6694544abb3991ccd3691a175216a55.tar.bz2
troggle-789c33fcb6694544abb3991ccd3691a175216a55.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/editfile.html')
-rw-r--r--templates/editfile.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/editfile.html b/templates/editfile.html
index c420654..64f1fba 100644
--- a/templates/editfile.html
+++ b/templates/editfile.html
@@ -6,16 +6,16 @@
$(function() {
$("#id_date").datepicker({dateFormat: "yy-mm-dd"});
$("#id_cave").change(function() {
- $('#id_entrance').load('{% url get_entrances caveslug="" %}' + this.value);
+ $('#id_entrance').load('{% url "get_entrances" caveslug="" %}' + this.value);
});
$("#id_cave").change(function() {
- $('#id_qm').load('{% url get_qms caveslug="" %}' + this.value);
+ $('#id_qm').load('{% url "get_qms" caveslug="" %}' + this.value);
});
$("#id_expedition").change(function() {
- $('#id_logbookentry').load('{% url get_logbook_entries expeditionslug="" %}' + this.value);
+ $('#id_logbookentry').load('{% url "get_logbook_entries" expeditionslug="" %}' + this.value);
});
$("#id_expedition").change(function() {
- $('#id_person').load('{% url get_people expeditionslug="" %}' + this.value);
+ $('#id_person').load('{% url "get_people" expeditionslug="" %}' + this.value);
});
});