# parler.forms module

## The `TranslatableModelForm` class

class parler.forms.TranslatableModelForm(*args, **kwargs)

  The model form to use for translated models.

  property media

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

## The `TranslatableModelFormMixin` class

parler.forms.TranslatableModelFormMixin

  alias of `BaseTranslatableModelForm`

## The `TranslatedField` class

class parler.forms.TranslatedField(**kwargs)

  A wrapper for a translated form field.

  This wrapper can be used to declare translated fields on the form, e.g.

      class MyForm(TranslatableModelForm):
          title = TranslatedField()
          slug = TranslatedField()

          description = TranslatedField(form_class=forms.CharField, widget=TinyMCE)

## The `TranslatableBaseInlineFormSet` class

class parler.forms.TranslatableBaseInlineFormSet(data=None, files=None, instance=None, save_as_new=False, prefix=None, queryset=None, **kwargs)

  The formset base for creating inlines with translatable models.

  save_new(form, commit=True)

    Save and return a new model instance for the given form.