Created
July 14, 2014 17:40
-
-
Save loic/c52e8c819cf837fd7526 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt | |
index bbd573d..7407a1f 100644 | |
--- a/docs/releases/1.8.txt | |
+++ b/docs/releases/1.8.txt | |
@@ -416,11 +416,11 @@ 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>` with the ``'unique'`` key in | |
+ ``Meta.errors_messages[USERNAME_FIELD]`` or, if you have a custom user model, | |
+ you can also 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: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment