summaryrefslogtreecommitdiff
path: root/tbc/views.py
diff options
context:
space:
mode:
authorhardythe12013-12-31 17:56:18 +0530
committerhardythe12013-12-31 17:56:18 +0530
commitacb2cccb7e5979b5015bebff1827aa04a17fc808 (patch)
tree39c4698c0c7d64ced58dd344401fd5e388337b59 /tbc/views.py
parentb5263d5a0513c206d6357b139ea208fb8e49759a (diff)
downloadPython-TBC-Interface-acb2cccb7e5979b5015bebff1827aa04a17fc808.tar.gz
Python-TBC-Interface-acb2cccb7e5979b5015bebff1827aa04a17fc808.tar.bz2
Python-TBC-Interface-acb2cccb7e5979b5015bebff1827aa04a17fc808.zip
adding about page
Diffstat (limited to 'tbc/views.py')
-rw-r--r--tbc/views.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tbc/views.py b/tbc/views.py
index 44143bf..cc855b1 100644
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -43,6 +43,21 @@ def InternshipForms(request):
context['user'] = request.user
return render_to_response('tbc/internship-forms.html', context)
+
+def AboutPytbc(request):
+ context = {}
+ images = []
+ if request.user.is_anonymous():
+ context['anonymous'] = True
+ else:
+ if is_reviewer(request.user):
+ context['reviewer'] = request.user
+ else:
+ context['user'] = request.user
+ return render_to_response('tbc/about-pytbc.html', context)
+
+
+
def Home(request):
context = {}
images = []