I'll never understand regexs
parent
bc4e2a441d
commit
4e99e6d754
|
@ -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'^$',
|
||||
|
|
Loading…
Reference in New Issue