mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-10 13:44:43 +00:00
Merge pull request #115 from mattlinares/master
Expand regex match on users/urls.py UserDetailView
This commit is contained in:
commit
a2eecedaa0
2 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ Kevin A. Stone
|
|||
mozillazg / @mozillazg
|
||||
Henrique G. G. Pereira / @ikkebr
|
||||
Travis McNeill / gh: Tavistock / @tavistock_esq
|
||||
Matt Linares
|
||||
|
||||
* Possesses commit rights
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ urlpatterns = patterns('',
|
|||
),
|
||||
# URL pattern for the UserDetailView
|
||||
url(
|
||||
regex=r'^(?P<username>[\w\-_]+)/$',
|
||||
regex=r'^(?P<username>[\w.@+-]+)/$',
|
||||
view=views.UserDetailView.as_view(),
|
||||
name='detail'
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue