A pluggable Django comments application with thread support, follow-up notifications, mail confirmation, like/dislike flags, moderation, a ReactJS plugin and Bootstrap 5.3.
Thanks for contributing, however it's correct to use get_full_name in the form.
When listing comments, the name of the person that posted a comment comes from comment.name, you can see that in a few templates like comment_tree.html or comment.html. Using comment.name is resolved here in django-comments. See that the getter uses either get_full_name or the name stored in the name field of the comment instance.
To prevent displaying an empty name when listing comments the form.html template requests the user to fill the name field even if the user is authenticated but has an empty user.get_full_name().
Thanks for contributing, however it's correct to use
get_full_name
in the form.When listing comments, the name of the person that posted a comment comes from
comment.name
, you can see that in a few templates likecomment_tree.html
orcomment.html
. Usingcomment.name
is resolved here in django-comments. See that the getter uses eitherget_full_name
or the name stored in thename
field of the comment instance.To prevent displaying an empty name when listing comments the
form.html
template requests the user to fill thename
field even if the user is authenticated but has an emptyuser.get_full_name()
.