FormMixin¶
- class djmvc.views.form.FormMixin[source]¶
Bases:
objectGeneric form rendering, messages, and Unpoly modal attributes.
- form_class¶
Form class. Subclasses must set this or override
get_form_class().- Type:
- property submit_button_label¶
Primary submit button text; defaults to
title.
- get_form_class()[source]¶
Return
form_classor Django’s baseForm.
- property form_valid_message¶
Cached success message from
get_form_valid_message().