oioioi.forum.models¶
Module Contents¶
Classes¶
Functions¶
|
|
|
|
|
Attributes¶
- class oioioi.forum.models.Forum(*args, **kwargs)[source]¶
Bases:
django.db.models.ModelForum is connected with contest
- class oioioi.forum.models.Category(*args, **kwargs)[source]¶
Bases:
django.db.models.ModelCategory model
- save(**kwargs)[source]¶
Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
- class oioioi.forum.models.Thread(*args, **kwargs)[source]¶
Bases:
django.db.models.ModelThread model - topic in a category
- class oioioi.forum.models.Post(*args, **kwargs)[source]¶
Bases:
django.db.models.ModelPost - the basic part of the forum
- class oioioi.forum.models.PostReaction(*args, **kwargs)[source]¶
Bases:
django.db.models.ModelPostReaction - represents a reaction to a post on the forum.