:py:mod:`oioioi.usercontests.forms` =================================== .. py:module:: oioioi.usercontests.forms Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: oioioi.usercontests.forms.UserContestForm .. py:class:: UserContestForm(*args, **kwargs) Bases: :py:obj:`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. .. py:class:: Meta Bases: :py:obj:`oioioi.contests.forms.SimpleContestForm.Meta` .. py:attribute:: fields :annotation: = ['name', 'id', 'default_submissions_limit', 'contact_email'] .. py:method:: clean() 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__'.