summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLoic Bistuer <loic.bistuer@gmail.com>2014-07-15 14:25:23 +0700
committerLoic Bistuer <loic.bistuer@gmail.com>2014-07-15 17:59:16 +0700
commit671e0c937c112b1908048b4d8deb14c0116b8946 (patch)
tree38f36a1002e288a986c3243dd7d3026eba1c0c16 /docs
parent4e424084e6d796f7ed5f215330cd0b98287c1300 (diff)
Further fix the release notes for refs #13147.
Mention of custom user models has been removed since UserCreationForm didn't support custom user models anyway. Refs #19353.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.8.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index 30c62f845d..78ade8f92f 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -416,11 +416,10 @@ Miscellaneous
* ``UserCreationForm.errors_messages['duplicate_username']`` is no longer used.
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`.
+ <modelforms-overriding-default-fields>` using the ``'unique'`` key in
+ ``Meta.errors_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.
.. _deprecated-features-1.8: