Commits

Flavio Curella  committed cd37d21

Update the username url regex to match Django 1.3 behaviour. Fixes issue #9.

  • Participants
  • Parent commits c219625

Comments (0)

Files changed (1)

File profiles/urls.py

                        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'^$',