oioioi.newsfeed.forms

Module Contents

Classes

NewsLanguageVersionForm

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

Attributes

class oioioi.newsfeed.forms.NewsLanguageVersionForm(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.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 = ['language', 'title', 'content'][source]
language[source]
title[source]
content[source]
oioioi.newsfeed.forms.NewsLanguageVersionFormset[source]