summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorvikas1792017-06-23 10:45:58 +0530
committervikas1792017-06-23 10:48:02 +0530
commit294d54dac2b8715891ac32d9b93b3bfd885827f6 (patch)
tree5f174a6b40f3abb6db877162c77ad311e89dfc8f /pages
parent470fc4aa20fc68fd0d3ef5c94768a39f3623765c (diff)
downloadSBHS-2018-Rpi-294d54dac2b8715891ac32d9b93b3bfd885827f6.tar.gz
SBHS-2018-Rpi-294d54dac2b8715891ac32d9b93b3bfd885827f6.tar.bz2
SBHS-2018-Rpi-294d54dac2b8715891ac32d9b93b3bfd885827f6.zip
add further docstrings
Diffstat (limited to 'pages')
-rw-r--r--pages/views.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pages/views.py b/pages/views.py
index 4b88086..db8e58f 100644
--- a/pages/views.py
+++ b/pages/views.py
@@ -3,6 +3,11 @@ from django.template.loader import render_to_string
from django.http import HttpResponseNotFound, HttpResponseServerError
# Create your views here.
+"""
+ Renders the required html page
+ Input: s: request object
+ output: Redirect object returned by render() and Httpresponse() functions.
+"""
def index(req):
return render(req, "pages/index.html")