django-knowledge
django-knowledge copied to clipboard
url regex matching
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