summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsriyasainath2017-06-28 16:52:56 +0530
committersriyasainath2017-06-28 16:53:54 +0530
commit5d44b24f262fc691eb773f43ae6735c26ff045eb (patch)
treea2a7aa2aa2caa1ca5e55b2a0505116a6892e2514
parent3ad34f590ed22d59694c6831142ffc850472cefa (diff)
downloadSBHS-2018-Rpi-5d44b24f262fc691eb773f43ae6735c26ff045eb.tar.gz
SBHS-2018-Rpi-5d44b24f262fc691eb773f43ae6735c26ff045eb.tar.bz2
SBHS-2018-Rpi-5d44b24f262fc691eb773f43ae6735c26ff045eb.zip
Alter Documentation
-rw-r--r--slot/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/slot/views.py b/slot/views.py
index 74b6a65..7b5c6c6 100644
--- a/slot/views.py
+++ b/slot/views.py
@@ -4,8 +4,9 @@ from django.contrib import messages
from sbhs_server.tables.models import Account, Slot, Booking
import datetime
-#Defines an upper limit for the number of slots that can be booked by an user in advance.
+
LIMIT = 2
+"""Defines an upper limit for the number of slots that can be booked by an user in advance."""
@login_required(redirect_field_name=None)
def new(req):