summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorhardythe12015-07-07 17:23:53 +0530
committerhardythe12015-07-07 17:23:53 +0530
commitf858144a0d2a8dcb0391d34466f14880cbeff660 (patch)
tree89ee2cdc63b3587427c4a883a998fef9a9899860 /website
parentb5d4fbffcdff366c67923194960f8fb61c328653 (diff)
downloadSciPy2015-f858144a0d2a8dcb0391d34466f14880cbeff660.tar.gz
SciPy2015-f858144a0d2a8dcb0391d34466f14880cbeff660.tar.bz2
SciPy2015-f858144a0d2a8dcb0391d34466f14880cbeff660.zip
change url
Diffstat (limited to 'website')
-rw-r--r--website/urls.py1
-rw-r--r--website/views.py9
2 files changed, 0 insertions, 10 deletions
diff --git a/website/urls.py b/website/urls.py
index 05266c1..d3e2508 100644
--- a/website/urls.py
+++ b/website/urls.py
@@ -5,5 +5,4 @@ urlpatterns = patterns('',
url(r'^$', 'website.views.home', name='home'),
url(r'^cfp$', 'website.views.cfp', name='cfp'),
url(r'^submit-cfp$', 'website.views.submitcfp', name='submitcfp'),
- url(r'^logout$', 'website.views.userlogout', name='userlogout'),
)
diff --git a/website/views.py b/website/views.py
index dfec67c..c793c09 100644
--- a/website/views.py
+++ b/website/views.py
@@ -40,15 +40,6 @@ def cfp(request):
'user': request.user})
return render_to_response('cfp.html',
context_instance=context)
-
-
-def userlogout(request):
- user = request.user
- if user.is_authenticated:
- logout(request)
- return HttpResponseRedirect("/cfp")
- else:
- return HttpResponseRedirect("/cfp")
def submitcfp(request):