From fe407193c200e03070928c1e2c1a6e067d32893d Mon Sep 17 00:00:00 2001 From: coderick14 Date: Wed, 17 May 2017 15:40:18 +0530 Subject: Upgrade to Django 1.11 - Database integration yet to be tested --- templates/slot/new.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/slot/new.html') diff --git a/templates/slot/new.html b/templates/slot/new.html index c0a8b21..65ff482 100644 --- a/templates/slot/new.html +++ b/templates/slot/new.html @@ -17,7 +17,7 @@

Book slot

{% if cur_slots|length > 0 %}

Current slot {{ cur_slots.0 }} is vacant

-
+ {% csrf_token %} @@ -26,7 +26,7 @@ {% endif %}

Book future slots

- + {% csrf_token %}
@@ -61,7 +61,7 @@ var newDate = new Date(ev.date); var string = newDate.getFullYear() + "-" + (newDate.getMonth() + 1) + "-" + newDate.getDate(); $.ajax({ - url: "{% url 'sbhs_server.slot.views.show' '' %}" + string, + url: "{% url 'slot_show' '' %}" + string, success: function(msg) { $("#slotTimingWrap").html(msg); } -- cgit