langdev.forum — LangDev forum

class langdev.forum.Post(**kwargs)

A forum post.

id

Unique primary key.

author_id

An id of author.

author

(User) A post author.

title

A post title.

body

A post content.

sticky

Whether it is sticky.

created_at

(datetime.datetime) Created time.

modified_at

(datetime.datetime) Lastly modified time.

body_html

HTML-compiled (from Markdown) body text.

replies

Comments that don’t have parent comments.

class langdev.forum.Comment(**kwargs)

A comment on a post.

id

Unique primary key.

post_id

An id of post.

parent_id

An id of parent.

author_id

An id of author.

author

(User) A comment author.

body

A comment content.

created_at

(datetime.datetime) Created time.

post

(Post) A post this comment belongs to.

replies

Replies on this comment.

body_html

HTML-compiled (from Markdown) body text.

Project Versions

Previous topic

langdev.user — LangDev users

Next topic

langdev.thirdparty — Third-parties

This Page