Skip to content

Commit

Permalink
Merge pull request #40 from therealbill/master
Browse files Browse the repository at this point in the history
Fixed regex for user profile page.
  • Loading branch information
popen2 committed Dec 11, 2015
2 parents 5d6f203 + cc1bab0 commit c97085f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangopypi2/apps/pypi_users/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

urlpatterns = patterns('',
url(r'^users/$', views.Index.as_view(), name='djangopypi2-users'),
url(r'^users/(?P<username>[\w-]+)/$', views.UserDetails.as_view(), name='djangopypi2-user-profile'),
url(r'^users/(?P<username>[\w_.-]+)/$', views.UserDetails.as_view(), name='djangopypi2-user-profile'),
)

0 comments on commit c97085f

Please sign in to comment.