diff options
author | sriyasainath | 2017-06-28 16:52:56 +0530 |
---|---|---|
committer | sriyasainath | 2017-06-28 16:53:54 +0530 |
commit | 5d44b24f262fc691eb773f43ae6735c26ff045eb (patch) | |
tree | a2a7aa2aa2caa1ca5e55b2a0505116a6892e2514 | |
parent | 3ad34f590ed22d59694c6831142ffc850472cefa (diff) | |
download | SBHS-2018-Rpi-5d44b24f262fc691eb773f43ae6735c26ff045eb.tar.gz SBHS-2018-Rpi-5d44b24f262fc691eb773f43ae6735c26ff045eb.tar.bz2 SBHS-2018-Rpi-5d44b24f262fc691eb773f43ae6735c26ff045eb.zip |
Alter Documentation
-rw-r--r-- | slot/views.py | 3 |
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): |