Created
July 14, 2014 17:53
-
-
Save loic/5d4913b1375a1a9923ed 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..7705edd 100644 | |
--- a/docs/releases/1.8.txt | |
+++ b/docs/releases/1.8.txt | |
@@ -416,11 +416,8 @@ 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']``. | |
.. _deprecated-features-1.8: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ship it