Fixed #8614 -- Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d88688014f
commit
e1f1bda3c7
|
@ -44,7 +44,7 @@ class Comment(BaseCommentAbstractModel):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Who posted this comment? If ``user`` is set then it was an authenticated
|
# Who posted this comment? If ``user`` is set then it was an authenticated
|
||||||
# user; otherwise at least person_name should have been set and the comment
|
# user; otherwise at least user_name should have been set and the comment
|
||||||
# was posted by a non-authenticated user.
|
# was posted by a non-authenticated user.
|
||||||
user = models.ForeignKey(User, blank=True, null=True, related_name="%(class)s_comments")
|
user = models.ForeignKey(User, blank=True, null=True, related_name="%(class)s_comments")
|
||||||
user_name = models.CharField(_("user's name"), max_length=50, blank=True)
|
user_name = models.CharField(_("user's name"), max_length=50, blank=True)
|
||||||
|
|
Loading…
Reference in New Issue