.pylintrcfile that contains configuration for pylint tool used to lint Misago's codebase.
titlethat will be displayed in UI and
slugthat will be included in links to this thread. After those Thread model defines additional fields.
posterfield as well as
poster_ipfields are grouped together.
user. Preffer more descriptive names like
ipas field names. Use more descriptive
is_deletedis better than
Serializersuffix, ergo serializer for
Threadmodel should be named
ThreadSerializer. Default serializer should be only serializer defining serialization methods for
Postmodel used to serialize user's posts list could be named
FeedPostsSerializer. This serializer should only define
fieldsattributes, inheriting serialization behaviour form default serializer.
api. The first one should be string containing serialized model's
get_absolute_urlor list urls of interest for UI rendering serialized model, like:
/api/threads/132/) or list of avaiable endpoints:
related_namein respect of model it annotates (defautly its