diff options
Diffstat (limited to 'forum/views/writers.py')
-rw-r--r-- | forum/views/writers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/views/writers.py b/forum/views/writers.py index 666b936a..a8f07334 100644 --- a/forum/views/writers.py +++ b/forum/views/writers.py @@ -380,7 +380,7 @@ def __generate_comments_json(obj, type, user):#non-view generates json data for if user != None and auth.can_delete_comment(user, comment): #/posts/392845/comments/219852/delete #todo translate this url - delete_url = reverse(index) + type + "s/%s/comments/%s/delete/" % (obj.id, comment.id) + delete_url = reverse('index') + type + "s/%s/comments/%s/delete/" % (obj.id, comment.id) json_comments.append({"id" : comment.id, "object_id" : obj.id, "comment_age" : diff_date(comment.added_at), |