oioioi.teachers.forms

Module Contents

Classes

TeacherContestForm

The main implementation of all the Form logic. Note that this class is

AddTeacherForm

The main implementation of all the Form logic. Note that this class is

class oioioi.teachers.forms.TeacherContestForm(*args, **kwargs)[source]

Bases: oioioi.contests.forms.SimpleContestForm

The main implementation of all the Form logic. Note that this class is different than Form. See the comments by the Form class for more info. Any improvements to the form API should be made to this class, not to the Form class.

class Meta[source]

Bases: oioioi.contests.forms.SimpleContestForm.Meta

fields = ['name', 'id'][source]
class oioioi.teachers.forms.AddTeacherForm(*args, **kwargs)[source]

Bases: django.forms.ModelForm

The main implementation of all the Form logic. Note that this class is different than Form. See the comments by the Form class for more info. Any improvements to the form API should be made to this class, not to the Form class.

class Meta[source]

Bases: object

model[source]
fields = ['user', 'school'][source]
user[source]
school[source]
message[source]
clean_school()[source]