Skip to content

Commit

Permalink
Improving a little bit the url pattern for the qa_tag URLConf
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-code committed Mar 20, 2016
1 parent 6133be7 commit 9aecda8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
url(r'^vote/(?P<user_id>\d+)/(?P<answer_id>\d+)/(?P<question_id>\d+)/(?P<op_code>\d+)/$', views.vote, name='qa_vote'),
url(r'^comment/(?P<answer_id>\d+)/$', views.comment, name='comment'),
url(r'^search/$', views.search, name='qa_search'),
url(r'^tag/(?P<tag>\w+)/$', views.tag, name='qa_tag'),
url(r'^tag/(?P<tag>[-\w]+)/$', views.tag, name='qa_tag'),
url(r'^thumb/(?P<user_id>\d+)/(?P<question_id>\d+)/(?P<op_code>\d+)/$',
views.thumb, name='thumb'),

Expand Down

0 comments on commit 9aecda8

Please sign in to comment.