oioioi.oireports.forms

Module Contents

Classes

OIReportCheckboxSelectMultiple

OIReportForm

A collection of Fields, plus their associated data.

Functions

_rounds(request)

_last_finished_round_id(request)

_regions(request)

_testgroups(request)

Attributes

oioioi.oireports.forms.CONTEST_REPORT_KEY = all[source]
oioioi.oireports.forms._rounds(request)[source]
oioioi.oireports.forms._last_finished_round_id(request)[source]
oioioi.oireports.forms._regions(request)[source]
oioioi.oireports.forms._testgroups(request)[source]
oioioi.oireports.forms.report_types = [None, None][source]
class oioioi.oireports.forms.OIReportCheckboxSelectMultiple(attrs=None, choices=())[source]

Bases: django.forms.CheckboxSelectMultiple

render(*args, **kwargs)[source]

Render the widget as an HTML string.

class oioioi.oireports.forms.OIReportForm(request, *args, **kwargs)[source]

Bases: django.forms.Form

A collection of Fields, plus their associated data.

is_single_report[source]
single_report_user[source]
form_type[source]
control_fields()[source]
testgroup_fields()[source]
clean()[source]

Hook for doing any extra form-wide cleaning after Field.clean() has been called on every field. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field named ‘__all__’.

get_testgroups(request)[source]