From 8a3043c012ebb748d57f55c6c52bd4672ace4568 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Sun, 4 May 2014 16:49:50 +0530 Subject: added pretty urls to questions --- website/urls.py | 1 + 1 file changed, 1 insertion(+) (limited to 'website/urls.py') 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\d+)/$', 'website.views.get_question', name='get_question'), + url(r'^question/(?P\d+)/(?P.+)/$', '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[^/]+)/$', 'website.views.filter', name='filter'), -- cgit