Commit 44a3f41c5ca0984db56dc873e7412b8a99ffb6e0

Authored by Sergio Oliveira
1 parent 4ba8217d

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 11 url(r'^change-password/$',
12 12 ChangeXMPPPasswordView.as_view(), name='change_password'),
13 13  
  14 + url(r'^logout/?$', 'django.contrib.auth.logout'),
  15 +
14 16 url(r'^(?P<username>[\w@+.-]+)/?$',
15 17 UserProfileDetailView.as_view(), name='user_profile'),
16 18  
... ... @@ -19,6 +21,4 @@ urlpatterns = patterns(&#39;&#39;,
19 21  
20 22 url(r'^(?P<username>[\w@+.-]+)/subscriptions/?$',
21 23 ManageUserSubscriptionsView.as_view(), name='user_list_subscriptions'),
22   -
23   - url(r'^logout/?$', 'django.contrib.auth.logout'),
24 24 )
... ...