X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0ba16baba0615dd405486c7d87f943d71518375c..01eed1521a67afc04a8112b44ca4cd1c4a32cf00:/forum/urls.py 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'),