From aa15395a7bba6529c2116e354bda97de2afa5e6f Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Mon, 22 Feb 2010 20:58:30 -0500 Subject: cleaning up small errors, commit in the middle of linting wmd.js --- forum/views/writers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forum/views/writers.py') 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), -- cgit v1.2.3-1-g7c22