From 0c44af7558561f4cf3d7431eb3c47221507affa8 Mon Sep 17 00:00:00 2001 From: sanj Date: Sat, 20 Nov 2010 20:01:51 +0530 Subject: [PATCH] ups --- itf/erang_organised/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/erang_organised/models.py b/itf/erang_organised/models.py index d2f9864..e1384dd 100644 --- a/itf/erang_organised/models.py +++ b/itf/erang_organised/models.py @@ -28,7 +28,7 @@ def comments_notify(sender, **kwargs): content = comment.comment erang_id = comment.content_object.id comment_id = comment.id - url = "http://theatreforum.in/erang/?issue_id=%d" % (img_id) + url = "http://theatreforum.in/erang/?issue_id=%d" % (erang_id) admin_url = "http://theatreforum.in/admin/comments/comment/%d/" % (comment_id) message = "Page: %s \n Name: %s \n Email: %s \n Comment: %s\n\n Moderate: %s" % (url, name, email, content, admin_url) send_mail("New comment on E-Rang", message, "do_not_reply@theatreforum.in", ["erang@theatreforum.in", "sanjaybhangar@gmail.com", "sharvari@theatreforum.in"])