django-knowledge icon indicating copy to clipboard operation
django-knowledge copied to clipboard

url regex matching

Open myaser opened this issue 12 years ago • 0 comments

the setting KNOWLEDGE_SLUG_URLS = True causes that the url pattern: r'^questions/(?P<category_slug>[a-z0-9-_]+)/$' caches the the requests to view a question and maps to knowledge_list view

instead of r'^questions/(?P<question_id>\d+)/$' who matches to knowledge_thread_no_slug view

myaser avatar Mar 14 '13 08:03 myaser