I'll never understand regexs

badge-v2
Eric Holscher 2014-08-05 08:13:57 -07:00
parent bc4e2a441d
commit 4e99e6d754
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ urlpatterns = patterns('',
url(r'^edit/$',
views.edit_profile,
name='profiles_edit_profile'),
url(r'^(?P<username>[\w-]+)/$',
url(r'^(?P<username>[\w.-]+)/$',
views.profile_detail,
name='profiles_profile_detail'),
url(r'^$',