oioioi.disqualification.models

Module Contents

Classes

Disqualification

Make subclasses preserve the alters_data attribute on overridden methods.

DisqualificationsConfig

Make subclasses preserve the alters_data attribute on overridden methods.

class oioioi.disqualification.models.Disqualification(*args, **kwargs)[source]

Bases: django.db.models.Model

Make subclasses preserve the alters_data attribute on overridden methods.

class Meta[source]

Bases: object

verbose_name[source]
verbose_name_plural[source]
contest[source]
user[source]
submission[source]
title[source]
content[source]
guilty[source]
clean()[source]

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.

save(*args, **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.disqualification.models.DisqualificationsConfig(*args, **kwargs)[source]

Bases: django.db.models.Model

Make subclasses preserve the alters_data attribute on overridden methods.

class Meta[source]

Bases: object

verbose_name[source]
verbose_name_plural[source]
contest[source]
info[source]