Ticket #8614: 8614.diff

File 8614.diff, 732 bytes (added by Thejaswi Puthraya, 16 years ago)

git-patch against the latest trunk checkout

  • django/contrib/comments/models.py

    diff --git a/django/contrib/comments/models.py b/django/contrib/comments/models.py
    index 40243d0..9cb2293 100644
    a b class Comment(BaseCommentAbstractModel):  
    4343    """
    4444
    4545    # Who posted this comment? If ``user`` is set then it was an authenticated
    46     # user; otherwise at least person_name should have been set and the comment
     46    # user; otherwise at least user_name should have been set and the comment
    4747    # was posted by a non-authenticated user.
    4848    user        = models.ForeignKey(User, blank=True, null=True, related_name="%(class)s_comments")
    4949    user_name   = models.CharField(_("user's name"), max_length=50, blank=True)
Back to Top