Conversations¶
Models¶
-
class
ekratia.threads.models.
Comment
(*args, **kwargs)¶ Comment Model: Comments under Threads and other comments
-
calculate_votes
()¶ Calculates total votes based on CommentUserVote
-
-
class
ekratia.threads.models.
CommentManager
¶ Manager for the comment model. Allows custom operation on the tree.
-
class
ekratia.threads.models.
CommentUserVote
(*args, **kwargs)¶ CommentUserVote Model: Stores votes from users to Comments
Views¶
-
class
ekratia.conversations.views.
ThreadCreateView
(**kwargs)¶ Creates a Thread
-
form_class
¶ alias of
ThreadForm
-
form_valid
(form)¶ If the form is valid, save the associated model.
-
model
¶ alias of
Thread
-