Commit 4ba8217d869cc57f61452cd9951acbd7317a1008

Authored by Sergio Oliveira
1 parent 1afd687a

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 19  
20 20 url(r'^(?P<username>[\w@+.-]+)/subscriptions/?$',
21 21 ManageUserSubscriptionsView.as_view(), name='user_list_subscriptions'),
  22 +
  23 + url(r'^logout/?$', 'django.contrib.auth.logout'),
22 24 )
... ...