Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed/improved release note for refs #13147; thanks Loic.

  • Loading branch information...
commit 7affb4ad58e7ee93e4cca0c350315c63035ed648 1 parent dd6ef31
@timgraham timgraham authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 docs/releases/1.8.txt
8 docs/releases/1.8.txt
@@ -415,8 +415,12 @@ Miscellaneous
``pk`` parameter in ``params`` for backwards compatibility.
* ``UserCreationForm.errors_messages['duplicate_username']`` is no longer used.
- If you wish to customize that error message, use
- ``User.error_messages['unique']`` instead.
+ If you wish to customize that error message, :ref:`override it on the form
+ <considerations-regarding-model-errormessages>` using
+ ``Meta.errors_messages['unique']`` or, if you have a custom user model, use
+ the ``'unique'`` key in the :attr:`~django.db.models.Field.error_messages`
+ option of the field designated by
+ :attr:`~django.contrib.auth.models.CustomUser.USERNAME_FIELD`.
.. _deprecated-features-1.8:
Please sign in to comment.
Something went wrong with that request. Please try again.