mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #16319 -- added SuccessMessageMixin to contrib.messages
Thanks martinogden for the initial patch and d1ffuz0r for tests.
This commit is contained in:
committed by
Preston Holmes
parent
5938e7013e
commit
9a85ad89c2
@@ -126,6 +126,10 @@ Minor features
|
||||
* The ``MemcachedCache`` cache backend now uses the latest :mod:`pickle`
|
||||
protocol available.
|
||||
|
||||
* Added :class:`~django.contrib.messages.views.SuccessMessageMixin` which
|
||||
provides a ``success_message`` attribute for
|
||||
:class:`~django.view.generic.edit.FormView` based classes.
|
||||
|
||||
* Added the :attr:`django.db.models.ForeignKey.db_constraint` and
|
||||
:attr:`django.db.models.ManyToManyField.db_constraint` options.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user