#9429 closed (fixed)
Comment.get_as_text returns no information about non-authenticated users
Description ¶
The get_as_text method
in django.contrib.comments.models.Comments
uses the self.user
field when inserting information about the commenter. This field will be set to None
for non-authenticated users. The name
property should be used instead since it checks that a user is authenticated or not and returns the correct name in both cases.
Change History (4)
by , 16 years ago
comment:1 by , 16 years ago
Has patch: | set |
---|---|
Keywords: | comments username anonymous added |
Triage Stage: | Unreviewed → Accepted |
Version: | → SVN |
Note:
See TracTickets
for help on using tickets.
git-patch against latest checkout