oioioi.forum.models
¶
Module Contents¶
Classes¶
Functions¶
|
|
|
|
|
Attributes¶
- class oioioi.forum.models.Forum(*args, **kwargs)[source]¶
Bases:
django.db.models.Model
Forum is connected with contest
- class oioioi.forum.models.Category(*args, **kwargs)[source]¶
Bases:
django.db.models.Model
Category 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.Model
Thread model - topic in a category
- class oioioi.forum.models.Post(*args, **kwargs)[source]¶
Bases:
django.db.models.Model
Post - the basic part of the forum
- class oioioi.forum.models.PostReaction(*args, **kwargs)[source]¶
Bases:
django.db.models.Model
PostReaction - represents a reaction to a post on the forum.