Browse Source

Merge pull request #62 from tomwys/patch-2

Fix url regexp.
pull/68/head
Isaac Bythewood 10 years ago
parent
commit
d6c515ed0a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pinry/core/urls.py

+ 1
- 1
pinry/core/urls.py View File

@@ -30,7 +30,7 @@ urlpatterns = patterns('',
name='tag-pins'),
url(r'^pins/user/(?P<user>(\w|-)+)/$', TemplateView.as_view(template_name='core/pins.html'),
name='user-pins'),
url(r'^(?P<pin>\d+)/$', TemplateView.as_view(template_name='core/pins.html'),
url(r'^(?P<pin>[0-9]+)/$', TemplateView.as_view(template_name='core/pins.html'),
name='recent-pins'),
url(r'^$', TemplateView.as_view(template_name='core/pins.html'),
name='recent-pins'),


Loading…
Cancel
Save