oioioi.problems.forms¶
Module Contents¶
Classes¶
A collection of Fields, plus their associated data. |
|
A collection of Fields, plus their associated data. |
|
The main implementation of all the Form logic. Note that this class is |
|
The main implementation of all the Form logic. Note that this class is |
|
The main implementation of all the Form logic. Note that this class is |
|
The main implementation of all the Form logic. Note that this class is |
|
A collection of Fields, plus their associated data. |
|
A collection of Fields, plus their associated data. |
|
A collection of Fields, plus their associated data. |
|
A formset for child objects related to a parent. |
|
A formset for child objects related to a parent. |
|
The main implementation of all the Form logic. Note that this class is |
|
The main implementation of all the Form logic. Note that this class is |
|
The main implementation of all the Form logic. Note that this class is |
|
The main implementation of all the Form logic. Note that this class is |
|
The main implementation of all the Form logic. Note that this class is |
Functions¶
|
|
|
- class oioioi.problems.forms.ProblemUploadForm(contest, existing_problem, *args, **kwargs)[source]¶
Bases:
django.forms.FormA collection of Fields, plus their associated data.
- class oioioi.problems.forms.PackageUploadForm(contest, existing_problem, *args, **kwargs)[source]¶
Bases:
ProblemUploadFormA collection of Fields, plus their associated data.
- class oioioi.problems.forms.ProblemStatementConfigForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=ErrorList, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]¶
Bases:
django.forms.ModelFormThe 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 oioioi.problems.forms.RankingVisibilityConfigForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=ErrorList, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]¶
Bases:
django.forms.ModelFormThe 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 oioioi.problems.forms.RegistrationAvailabilityConfigForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=ErrorList, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]¶
Bases:
django.forms.ModelFormThe 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 oioioi.problems.forms.ProblemSiteForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=ErrorList, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]¶
Bases:
django.forms.ModelFormThe 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 oioioi.problems.forms.ProblemsetSourceForm(url_key, *args, **kwargs)[source]¶
Bases:
django.forms.FormA collection of Fields, plus their associated data.
- class oioioi.problems.forms.ProblemStatementReplaceForm(file_names, *args, **kwargs)[source]¶
Bases:
django.forms.FormA collection of Fields, plus their associated data.
- class oioioi.problems.forms.PackageFileReuploadForm(file_names, *args, **kwargs)[source]¶
Bases:
django.forms.FormA collection of Fields, plus their associated data.
- class oioioi.problems.forms.ProblemNameInlineFormSet(*args, **kwargs)[source]¶
Bases:
django.forms.models.BaseInlineFormSetA formset for child objects related to a parent.
- class oioioi.problems.forms.LocalizationFormset(*args, **kwargs)[source]¶
Bases:
django.forms.models.BaseInlineFormSetA formset for child objects related to a parent.
- class oioioi.problems.forms.OriginInfoValueForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=ErrorList, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[source]¶
Bases:
django.forms.ModelFormThe 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 oioioi.problems.forms.OriginTagThroughForm(*args, **kwargs)[source]¶
Bases:
django.forms.ModelFormThe 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 oioioi.problems.forms.OriginInfoValueThroughForm(*args, **kwargs)[source]¶
Bases:
django.forms.ModelFormThe 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 oioioi.problems.forms.DifficultyTagThroughForm(*args, **kwargs)[source]¶
Bases:
django.forms.ModelFormThe 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 oioioi.problems.forms.AlgorithmTagThroughForm(*args, **kwargs)[source]¶
Bases:
django.forms.ModelFormThe 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.