diff options
author | Adolfo Fitoria <fitoria@fitoria-laptop.(none)> | 2009-09-14 22:35:17 -0600 |
---|---|---|
committer | Adolfo Fitoria <fitoria@fitoria-laptop.(none)> | 2009-09-14 22:35:17 -0600 |
commit | 3a79d45d1a8414c4193ceffce69d19aee2718361 (patch) | |
tree | d318012282fa78ce9985f3a6a79ec93582926f9f /urls.py | |
parent | 7d563217ac64f73926a5ae757eccff3b1f60ddf9 (diff) | |
download | askbot-3a79d45d1a8414c4193ceffce69d19aee2718361.tar.gz askbot-3a79d45d1a8414c4193ceffce69d19aee2718361.tar.bz2 askbot-3a79d45d1a8414c4193ceffce69d19aee2718361.zip |
adding a ugly fix to make comments work in spanish
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 |