summaryrefslogtreecommitdiff
path: root/scipy/views.py
diff options
context:
space:
mode:
authorJayaram Pai2013-10-15 11:15:05 +0530
committerJayaram Pai2013-10-15 11:15:05 +0530
commit932ffeb3ea9376e2eb4a846e15a6def43da96988 (patch)
tree5af3cfb89f2adce9ade51a9740d54cd4687e518f /scipy/views.py
parent824415eaf062f86a6566803bb6e8157378595298 (diff)
downloadSciPy2013-932ffeb3ea9376e2eb4a846e15a6def43da96988.tar.gz
SciPy2013-932ffeb3ea9376e2eb4a846e15a6def43da96988.tar.bz2
SciPy2013-932ffeb3ea9376e2eb4a846e15a6def43da96988.zip
status invalid login fixed
Diffstat (limited to 'scipy/views.py')
-rw-r--r--scipy/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scipy/views.py b/scipy/views.py
index ee06c30..7a9cce1 100644
--- a/scipy/views.py
+++ b/scipy/views.py
@@ -30,7 +30,7 @@ def user_login(request):
next = request.GET['next']
status = ''
- if status in request.GET:
+ if 'status' in request.GET:
status = request.GET['status']
context = {}
@@ -98,4 +98,4 @@ def upload_document(request):
context['form'] = DocumentUploadForm()
return render_to_response('upload-document.html', context)
else:
- return HttpResponseRedirect('/2013/accounts/login') \ No newline at end of file
+ return HttpResponseRedirect('/2013/accounts/login')