diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,6 +33,7 @@ urlpatterns = patterns('', url(r'^%s$' % _('privacy/'), app.privacy, name='privacy'), url(r'^%s$' % _('logout/'), app.logout, name='logout'), url(r'^%s(?P<id>\d+)/%s$' % (_('answers/'), _('comments/')), app.answer_comments, name='answer_comments'), + url(r'^answers/(?P<id>\d+)/comments/$', app.answer_comments, name='answer_comments'), url(r'^%s(?P<id>\d+)/%s$' % (_('answers/'), _('edit/')), app.edit_answer, name='edit_answer'), url(r'^%s(?P<id>\d+)/%s$' % (_('answers/'), _('revisions/')), app.answer_revisions, name='answer_revisions'), url(r'^%s$' % _('questions/'), app.questions, name='questions'), @@ -45,6 +46,7 @@ urlpatterns = patterns('', url(r'^%s(?P<id>\d+)/%s$' % (_('questions/'), _('vote/')), app.vote, name='vote'), url(r'^%s(?P<id>\d+)/%s$' % (_('questions/'), _('revisions/')), app.question_revisions, name='question_revisions'), url(r'^%s(?P<id>\d+)/%s$' % (_('questions/'), _('comments/')), app.question_comments, name='question_comments'), + url(r'^questions/(?P<id>\d+)/comments/$', app.question_comments, name='question_comments'), url(r'^%s(?P<question_id>\d+)/%s(?P<comment_id>\d+)/%s$' % (_('questions/'), _('questions/'),_('delete/')), app.delete_question_comment, name='delete_question_comment'), url(r'^%s(?P<answer_id>\d+)/%s(?P<comment_id>\d+)/%s$' % (_('answers/'), _('answers/'),_('delete/')), app.delete_answer_comment, name='delete_answer_comment'), #place general question item in the end of other operations |