Mixins editing
AsyncFormMixin
A mixin class that provides facilities for creating and displaying forms.
AsyncFormMixin is similar to django's FormMixin
with a number of differences:
get_form_class()method is async.get_form()method is async.form_valid()method is async.form_invalid()method is async.get_context_data()is async.
AsyncModelFormMixin
A form mixin that works on ModelForms, rather than a standalone form.
AsyncModelFormMixin similar to django's ModelFormMixin
with a number of differences:
AsyncModelFormMixininherits from AsyncFormMixin and AsyncSingleObjectMixin so anything mentioned on those classes also applies here.get_form_class()method is async.
AsyncProcessFormView
A mixin that provides basic HTTP GET and POST workflow.
AsyncProcessFormView works similar to django's ProcessFormView,
but it inherits from AsyncView and all the http methods are async.
AsyncDeletionMixin
Enables handling of the DELETE HTTP action.
works similar to django's DeletionMixin
but delete() and post() methods are async.