]> git.parisson.com Git - teleforma.git/commitdiff
fix email in username ?
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 9 Dec 2014 23:52:40 +0000 (00:52 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 9 Dec 2014 23:52:40 +0000 (00:52 +0100)
teleforma/urls.py

index 7123a55eec502d239b76f9e24d7714df100d60f1..b495b6ad499cd603195e55723a1cfd7c2b856243 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"),