]> git.parisson.com Git - teleforma.git/commitdiff
add @ to profile
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 13 Jan 2014 10:30:53 +0000 (11:30 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 13 Jan 2014 10:30:53 +0000 (11:30 +0100)
teleforma/urls.py

index 739d726acd86824f5391a088862b3fd84de2e875..efedc3402a7780fd9392eae7154ce08ccb5b47b7 100644 (file)
@@ -103,7 +103,7 @@ urlpatterns = patterns('',
     url(r'^users/training/(?P<training_id>.*)/iej/(?P<iej_id>.*)/course/(?P<course_id>.*)/export/$',
         UsersExportView.as_view(), name="teleforma-users-export"),
 
-    url(r'^users/(?P<username>[A-Za-z0-9._-]+)/profile/$', profile_view.profile_detail,
+    url(r'^users/(?P<username>[A-Za-z0-9@._-]+)/profile/$', profile_view.profile_detail,
                                name="teleforma-profile-detail"),
 
     url(r'^users/(?P<id>.*)/login/$', UserLoginView.as_view(), name="teleforma-user-login"),