class django.views.generic.edit.ModelFormMixin
A form mixin that works on ModelForms, rather than a standalone form.
Since this is a subclass of SingleObjectMixin, instances of this mixin have access to the model and queryset attributes, describing the type of object that the ModelForm is manipulating.
If you specify both the fields and form_class attributes, an ImproperlyConfigured exception will be raised.
Mixins
django.views.generic.edit.FormMixin django.views.generic.detail.SingleObjectM