summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhardythe12013-12-03 15:14:32 +0530
committerhardythe12013-12-03 15:14:32 +0530
commit3cc39b57ac1bfe730e871858ffa2b298fdd07678 (patch)
treeaa36ad05d5e594f80639177503049ebc075ed888
parent51d017d3fb2c1e2dfcc00d2a8ba39530b7153162 (diff)
downloadSciPy2013-3cc39b57ac1bfe730e871858ffa2b298fdd07678.tar.gz
SciPy2013-3cc39b57ac1bfe730e871858ffa2b298fdd07678.tar.bz2
SciPy2013-3cc39b57ac1bfe730e871858ffa2b298fdd07678.zip
adding users as reviewers
-rw-r--r--scipy/views.py2
-rw-r--r--website/views.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/scipy/views.py b/scipy/views.py
index 06d99b0..c01d55d 100644
--- a/scipy/views.py
+++ b/scipy/views.py
@@ -17,7 +17,7 @@ def user_login(request):
if user is not None:
if user.is_active:
login(request, user)
- reviewers = ['jaidevd', 'prabhu', 'jarrod']
+ reviewers = ['jaidevd', 'prabhu', 'jarrod', 'hardythe1']
if user.username in reviewers:
return HttpResponseRedirect('/2013/abstracts')
else:
diff --git a/website/views.py b/website/views.py
index cc225bd..9f87843 100644
--- a/website/views.py
+++ b/website/views.py
@@ -44,7 +44,7 @@ def invited_speakers_page(request):
def list_of_abstracts(request):
user = request.user
context = {}
- reviewers = ['jaidevd', 'prabhu', 'jarrod']
+ reviewers = ['jaidevd', 'prabhu', 'jarrod', 'hardythe1']
papers = Paper.objects.all()
if user.username not in reviewers:
context['papers'] = papers
@@ -57,7 +57,7 @@ def list_of_abstracts(request):
def abstract_details(request, paper_id=None):
user = request.user
context = {}
- reviewers = ['jaidevd', 'prabhu', 'jarrod']
+ reviewers = ['jaidevd', 'prabhu', 'jarrod', 'hardythe1']
if user.username in reviewers:
context['reviewer'] = True
paper = Paper.objects.get(id=paper_id)