Mentioned SuccessMessageMixin in generic editing views docs.

This commit is contained in:
Claude Paroz 2018-05-24 09:18:20 +02:00 committed by Tim Graham
parent a8d12bc280
commit 738a0a4dc2
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,12 @@ editing content:
* :class:`django.views.generic.edit.UpdateView` * :class:`django.views.generic.edit.UpdateView`
* :class:`django.views.generic.edit.DeleteView` * :class:`django.views.generic.edit.DeleteView`
.. seealso::
The :doc:`messages framework </ref/contrib/messages>` contains
:class:`~django.contrib.messages.views.SuccessMessageMixin`, which
facilitates presenting messages about successful form submissions.
.. note:: .. note::
Some of the examples on this page assume that an ``Author`` model has been Some of the examples on this page assume that an ``Author`` model has been