mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #18119 -- Added a DomainNameValidator validator.
Thanks Claude Paroz for the review. Co-authored-by: Nina Menezes <77671865+nmenezes0@users.noreply.github.com>
This commit is contained in:
committed by
Sarah Boyce
parent
b9838c65ec
commit
4971a9afe5
@@ -363,7 +363,10 @@ Utilities
|
||||
Validators
|
||||
~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* The new :class:`~django.core.validators.DomainNameValidator` validates domain
|
||||
names, including internationalized domain names. The new
|
||||
:func:`~django.core.validators.validate_domain_name` function returns an
|
||||
instance of :class:`~django.core.validators.DomainNameValidator`.
|
||||
|
||||
.. _backwards-incompatible-5.1:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user