:py:mod:`oioioi.disqualification.models` ======================================== .. py:module:: oioioi.disqualification.models Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.disqualification.models.Disqualification oioioi.disqualification.models.DisqualificationsConfig .. py:class:: Disqualification(*args, **kwargs) Bases: :py:obj:`django.db.models.Model` Make subclasses preserve the alters_data attribute on overridden methods. .. py:class:: Meta Bases: :py:obj:`object` .. py:attribute:: verbose_name .. py:attribute:: verbose_name_plural .. py:attribute:: contest .. py:attribute:: user .. py:attribute:: submission .. py:attribute:: title .. py:attribute:: content .. py:attribute:: guilty .. py:method:: clean() Hook for doing any extra model-wide validation after clean() has been called on every field by self.clean_fields. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field defined by NON_FIELD_ERRORS. .. py:method:: save(*args, **kwargs) 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. .. py:class:: DisqualificationsConfig(*args, **kwargs) Bases: :py:obj:`django.db.models.Model` Make subclasses preserve the alters_data attribute on overridden methods. .. py:class:: Meta Bases: :py:obj:`object` .. py:attribute:: verbose_name .. py:attribute:: verbose_name_plural .. py:attribute:: contest .. py:attribute:: info