diff gpp/comments/models.py @ 98:d0d779dd0832

Forums: flag posts.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Sep 2009 21:45:35 +0000
parents 7b6540b185d9
children 9c18250972d5
line wrap: on
line diff
--- a/gpp/comments/models.py	Sun Sep 13 19:58:31 2009 +0000
+++ b/gpp/comments/models.py	Sun Sep 13 21:45:35 2009 +0000
@@ -75,7 +75,7 @@
     flag_date = models.DateTimeField(auto_now_add=True)
 
     def __unicode__(self):
-        return u'Comment ID %s flagged by %s' % (self.comment_id, self.user.username)
+        return u'Comment ID %s flagged by %s' % (self.comment.id, self.user.username)
 
     class Meta:
         ordering = ('flag_date', )