From a595d703f467bdb60ff6e4bc186ddd6f15cce839 Mon Sep 17 00:00:00 2001 From: hernani Date: Tue, 25 May 2010 02:28:09 +0000 Subject: [PATCH] All plural in urls. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@322 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/urls.py b/forum/urls.py index 00894ef..9ba2ebd 100644 --- a/forum/urls.py +++ b/forum/urls.py @@ -76,7 +76,7 @@ urlpatterns += patterns('', url(r'^%s(?P\d+)/' % _('convert/'), app.commands.convert_to_comment, name='convert_to_comment'), url(r'^%s(?P\d+)/' % _('wikify/'), app.commands.wikify, name='wikify'), - #place general question item in the end of other operations + url(r'^%s(?P\d+)/(?P[\w-]*)$' % _('question/'), 'django.views.generic.simple.redirect_to', {'url': '/questions/%(id)s/%(slug)s'}), url(r'^%s(?P\d+)/(?P[\w-]*)$' % _('questions/'), app.readers.question, name='question'), url(r'^%s$' % _('tags/'), app.readers.tags, name='tags'), url(r'^%s(?P.*)/$' % _('tags/'), app.readers.tag, name='tag_questions'), -- 2.39.5