Commit 44a3f41c5ca0984db56dc873e7412b8a99ffb6e0
1 parent
4ba8217d
Exists in
master
and in
39 other branches
moving url up to resolve first
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/accounts/urls.py
@@ -11,6 +11,8 @@ urlpatterns = patterns('', | @@ -11,6 +11,8 @@ urlpatterns = patterns('', | ||
11 | url(r'^change-password/$', | 11 | url(r'^change-password/$', |
12 | ChangeXMPPPasswordView.as_view(), name='change_password'), | 12 | ChangeXMPPPasswordView.as_view(), name='change_password'), |
13 | 13 | ||
14 | + url(r'^logout/?$', 'django.contrib.auth.logout'), | ||
15 | + | ||
14 | url(r'^(?P<username>[\w@+.-]+)/?$', | 16 | url(r'^(?P<username>[\w@+.-]+)/?$', |
15 | UserProfileDetailView.as_view(), name='user_profile'), | 17 | UserProfileDetailView.as_view(), name='user_profile'), |
16 | 18 | ||
@@ -19,6 +21,4 @@ urlpatterns = patterns('', | @@ -19,6 +21,4 @@ urlpatterns = patterns('', | ||
19 | 21 | ||
20 | url(r'^(?P<username>[\w@+.-]+)/subscriptions/?$', | 22 | url(r'^(?P<username>[\w@+.-]+)/subscriptions/?$', |
21 | ManageUserSubscriptionsView.as_view(), name='user_list_subscriptions'), | 23 | ManageUserSubscriptionsView.as_view(), name='user_list_subscriptions'), |
22 | - | ||
23 | - url(r'^logout/?$', 'django.contrib.auth.logout'), | ||
24 | ) | 24 | ) |