diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2018-04-11 22:02:57 +0100 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2018-04-11 22:02:57 +0100 |
commit | ffb5d7bdda5e35478a914ee822039f629b3af0fc (patch) | |
tree | 2cd893dd0bc7c99d41cb460f14d36f0c1e2e74ca /templates/editfile.html | |
parent | 242cf4741a945027fb43d3c6fb08922165c61bf0 (diff) | |
download | troggle-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/editfile.html')
-rw-r--r-- | templates/editfile.html | 8 |
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); }); }); |