class plinth.forms.AppForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]

Generic configuration form for an app.

class plinth.forms.DomainSelectionForm(*args, **kwargs)[source]

Form for selecting a domain name to be used for distributed federated applications

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

Initialize self. See help(type(self)) for accurate signature.

class plinth.forms.CheckboxSelectMultipleWithReadOnly(attrs=None, choices=())[source]

Subclass of Django’s CheckboxSelectMultiple widget that allows setting individual fields as readonly To mark a feature as readonly an option, pass a dict instead of a string for its label, of the form: {‘label’: ‘option label’, ‘disabled’: True}

Derived from

render(name, value, attrs=None, choices=(), renderer=None)[source]

Render the widget as an HTML string.