diff options
author | Jayaram Pai | 2014-05-04 16:49:50 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-05-04 16:49:50 +0530 |
commit | 8a3043c012ebb748d57f55c6c52bd4672ace4568 (patch) | |
tree | 4a5baf39e730d8214210c9342e486e665858ac5c /website/urls.py | |
parent | 0eded11fe3dc48f05adcf53a7f9a352b88ed24f4 (diff) | |
download | FOSSEE-Forum-8a3043c012ebb748d57f55c6c52bd4672ace4568.tar.gz FOSSEE-Forum-8a3043c012ebb748d57f55c6c52bd4672ace4568.tar.bz2 FOSSEE-Forum-8a3043c012ebb748d57f55c6c52bd4672ace4568.zip |
added pretty urls to questions
Diffstat (limited to 'website/urls.py')
-rw-r--r-- | website/urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/website/urls.py b/website/urls.py index 1184044..5d7a654 100644 --- a/website/urls.py +++ b/website/urls.py @@ -4,6 +4,7 @@ urlpatterns = patterns('', url(r'^$', 'website.views.home', name='home'), url(r'^questions/$', 'website.views.questions', name='questions'), url(r'^question/(?P<question_id>\d+)/$', 'website.views.get_question', name='get_question'), + url(r'^question/(?P<question_id>\d+)/(?P<pretty_url>.+)/$', 'website.views.get_question', name='get_question'), url(r'^question-answer/$', 'website.views.question_answer', name='question_answer'), url(r'^answer-comment/$', 'website.views.answer_comment', name='answer_comment'), url(r'^filter/(?P<category>[^/]+)/$', 'website.views.filter', name='filter'), |