Skip to content

Commit

Permalink
Changed [\d] to [0-9]
Browse files Browse the repository at this point in the history
  • Loading branch information
modestlearner committed Oct 4, 2017
1 parent 617b188 commit 003cded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wye/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
include('wye.regions.urls', namespace="regions")),
url(r'^reports/',
include('wye.reports.urls', namespace="reports")),
url(r'^invitation/(?P<user_id>[\d]+)-(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/',
url(r'^invitation/(?P<user_id>[0-9]+)-(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/',
view=activate_view, name="invitation_register"),
url(r'^$', HomePageView.as_view(),
name='home-page'),
Expand Down

0 comments on commit 003cded

Please sign in to comment.