aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/views.py')
-rw-r--r--accounts/views.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/accounts/views.py b/accounts/views.py
index f04f495..9ecb15f 100644
--- a/accounts/views.py
+++ b/accounts/views.py
@@ -789,3 +789,8 @@ def edit(request, code):
def terms(request):
context = {}
return render(request, 'accounts/terms.html', context)
+
+
+def logout_view(request):
+ logout(request)
+ return HttpResponseRedirect('/') \ No newline at end of file