Comment

Comment#

App: comments

User comment on a blog post, with threaded reply support.

Fields#

Field

Type

Description

blog_post

ForeignKey(BlogPost)

Parent blog post

user

ForeignKey(User)

Comment author

body

TextField

Comment text

created_at

DateTimeField

Creation timestamp (auto)

parent

ForeignKey(Comment)

Parent comment for threading (self-ref)

active

BooleanField

Visible? (soft delete)

Relationships#

  • BlogPost

  • User