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

url regex matching #43

Open
myaser opened this issue Mar 14, 2013 · 0 comments
Open

url regex matching #43

myaser opened this issue Mar 14, 2013 · 0 comments

Comments

@myaser
Copy link

myaser commented Mar 14, 2013

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant