Commit 4ba8217d869cc57f61452cd9951acbd7317a1008
1 parent
1afd687a
Exists in
master
and in
39 other branches
Adding logout view
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/accounts/urls.py
@@ -19,4 +19,6 @@ urlpatterns = patterns('', | @@ -19,4 +19,6 @@ urlpatterns = patterns('', | ||
19 | 19 | ||
20 | url(r'^(?P<username>[\w@+.-]+)/subscriptions/?$', | 20 | url(r'^(?P<username>[\w@+.-]+)/subscriptions/?$', |
21 | ManageUserSubscriptionsView.as_view(), name='user_list_subscriptions'), | 21 | ManageUserSubscriptionsView.as_view(), name='user_list_subscriptions'), |
22 | + | ||
23 | + url(r'^logout/?$', 'django.contrib.auth.logout'), | ||
22 | ) | 24 | ) |