From a0ce4c09ff516af52718885120c2231404515428 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Wed, 3 Feb 2016 13:05:35 -0700 Subject: [PATCH] Fix typos in 1.8 release notes. --- docs/releases/1.8.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 2342e587fe..5be97de04f 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -1082,10 +1082,10 @@ Miscellaneous parameters. Internally, Django will continue to provide the ``pk`` parameter in ``params`` for backwards compatibility. -* ``UserCreationForm.errors_messages['duplicate_username']`` is no longer used. +* ``UserCreationForm.error_messages['duplicate_username']`` is no longer used. If you wish to customize that error message, :ref:`override it on the form ` using the ``'unique'`` key in - ``Meta.errors_messages['username']`` or, if you have a custom form field for + ``Meta.error_messages['username']`` or, if you have a custom form field for ``'username'``, using the the ``'unique'`` key in its :attr:`~django.forms.Field.error_messages` argument.