diff options
Diffstat (limited to 'website')
-rw-r--r-- | website/urls.py | 1 | ||||
-rw-r--r-- | website/views.py | 9 |
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): |