mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
Fix typos in 1.8 release notes.
This commit is contained in:
parent
5fdbd9e36c
commit
a0ce4c09ff
@ -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
|
||||
<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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user