Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #45 from tzangms/master
Browse files Browse the repository at this point in the history
fix urls.py priority
  • Loading branch information
bryanhelmig committed May 7, 2013
2 parents 20dc28e + 5b2a7b5 commit 30570b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions knowledge/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

url(r'^questions/$', 'knowledge_list', name='knowledge_list'),

url(r'^questions/(?P<category_slug>[a-z0-9-_]+)/$', 'knowledge_list',
name='knowledge_list_category'),

url(r'^questions/(?P<question_id>\d+)/$',
'knowledge_thread', name='knowledge_thread_no_slug'),

url(r'^questions/(?P<category_slug>[a-z0-9-_]+)/$', 'knowledge_list',
name='knowledge_list_category'),

url(r'^questions/(?P<question_id>\d+)/(?P<slug>[a-z0-9-_]+)/$',
'knowledge_thread', name='knowledge_thread'),

Expand Down

0 comments on commit 30570b2

Please sign in to comment.