diff options
author | Jayaram Pai | 2013-10-15 11:15:05 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-10-15 11:15:05 +0530 |
commit | 932ffeb3ea9376e2eb4a846e15a6def43da96988 (patch) | |
tree | 5af3cfb89f2adce9ade51a9740d54cd4687e518f /scipy/views.py | |
parent | 824415eaf062f86a6566803bb6e8157378595298 (diff) | |
download | SciPy2013-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.py | 4 |
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') |