From: Guillaume Pellerin Date: Wed, 14 May 2014 21:56:21 +0000 (+0200) Subject: add generic user profile url (fix #171) X-Git-Tag: 1.4.6^2~18 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=21d20d91a79a0239859b31f8a5f428f495b9b890;p=telemeta.git add generic user profile url (fix #171) --- diff --git a/telemeta/urls.py b/telemeta/urls.py index 88154c40..6f48b1b5 100644 --- a/telemeta/urls.py +++ b/telemeta/urls.py @@ -331,6 +331,7 @@ urlpatterns = patterns('', # Profiles url(r'^accounts/(?P[A-Za-z0-9._-]+)/profile/$', profile_view.profile_detail, name="telemeta-profile-detail"), + url(r'^users/(?P[A-Za-z0-9._-]+)/$', profile_view.profile_detail, name="telemeta-profile-detail-2"), url(r'^accounts/(?P[A-Za-z0-9._-]+)/profile/edit/$', profile_view.profile_edit, name="telemeta-profile-edit"), url(r'^accounts/(?P[A-Za-z0-9._-]+)/rss/$', UserRevisionsFeed(), name="telemeta-user-rss"),