diff options
author | Carl Meyer <carl@oddbird.net> | 2016-02-03 13:05:35 -0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-02-03 15:27:40 -0500 |
commit | c2477530837c47303f031da685bd6d7ec0808f7d (patch) | |
tree | 148354dbe32811bf57ff040e51d74c8d49a89114 | |
parent | ea2d9f0d4a920606c105c9a7f2131327473204c7 (diff) | |
download | django-c2477530837c47303f031da685bd6d7ec0808f7d.tar.gz |
[1.8.x] Fix typos in 1.8 release notes.
Backport of a0ce4c09ff516af52718885120c2231404515428 from master
-rw-r--r-- | docs/releases/1.8.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index adc7df1531..b93e989f80 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -1086,10 +1086,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 <modelforms-overriding-default-fields>` 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. |