diff --git a/docs/ref/contrib/messages.txt b/docs/ref/contrib/messages.txt index 0dd732bec2..0a376bca18 100644 --- a/docs/ref/contrib/messages.txt +++ b/docs/ref/contrib/messages.txt @@ -291,7 +291,7 @@ Adding messages in Class Based Views .. versionadded:: 1.6 -.. class:: django.contrib.messages.views.SuccessMessageMixin +.. class:: views.SuccessMessageMixin Adds a success message attribute to :class:`~django.views.generic.edit.FormView` based classes diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt index 41611c5aaa..236be7b1d3 100644 --- a/docs/releases/1.6.txt +++ b/docs/releases/1.6.txt @@ -134,7 +134,7 @@ Minor features * Added :class:`~django.contrib.messages.views.SuccessMessageMixin` which provides a ``success_message`` attribute for - :class:`~django.view.generic.edit.FormView` based classes. + :class:`~django.views.generic.edit.FormView` based classes. * Added the :attr:`django.db.models.ForeignKey.db_constraint` and :attr:`django.db.models.ManyToManyField.db_constraint` options. @@ -169,7 +169,7 @@ Minor features * The :djadmin:`diffsettings` comand gained a ``--all`` option. -* :func:`django.forms.fields.Field.__init__` now calls ``super()``, allowing +* ``django.forms.fields.Field.__init__`` now calls ``super()``, allowing field mixins to implement ``__init__()`` methods that will reliably be called.