Organizations

Forms for creating and modifying organization objects

Organization Form

class integreat_cms.cms.forms.organizations.organization_form.OrganizationForm(**kwargs: Any)[source]

Bases: CustomModelForm

Form for creating and modifying organization objects

Form fields:

Parameters:

kwargs (Any) –

__init__(**kwargs: Any) None[source]

Initialize organization form

Parameters:

**kwargs (Any) – The supplied keyword arguments

Return type:

None

clean_name() str[source]

Validate if form fields name is not already in use for another organization in the same region (see Overriding the clean() method) :return: The name which is unique per region

Return type:

str

clean_slug() str[source]

Validate the slug field (see Overriding the clean() method)

Returns:

A unique slug based on the input value

Return type:

str

property media[source]

Return all media required to render the widgets on this form.