mirror of
https://github.com/django/django.git
synced 2025-10-17 13:58:24 +00:00
Fixed #13147 -- Moved User validation logic from form to model.
This commit is contained in:
parent
d88333661b
commit
849538d03d
4 changed files with 18 additions and 38 deletions
|
@ -414,6 +414,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.
|
||||
If you wish to customize that error message, use
|
||||
``User.error_messages['unique']`` instead.
|
||||
|
||||
.. _deprecated-features-1.8:
|
||||
|
||||
Features deprecated in 1.8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue