mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #31670 -- Renamed whitelist argument and attribute of EmailValidator.
This commit is contained in:
committed by
Mariusz Felisiak
parent
26a413507a
commit
27c09043da
@@ -351,3 +351,9 @@ Miscellaneous
|
||||
* Using a boolean value in :attr:`.BaseCommand.requires_system_checks` is
|
||||
deprecated. Use ``'__all__'`` instead of ``True``, and ``[]`` (an empty list)
|
||||
instead of ``False``.
|
||||
|
||||
* The ``whitelist`` argument and ``domain_whitelist`` attribute of
|
||||
:class:`~django.core.validators.EmailValidator` are deprecated. Use
|
||||
``allowlist`` instead of ``whitelist``, and ``domain_allowlist`` instead of
|
||||
``domain_whitelist``. You may need to rename ``whitelist`` in existing
|
||||
migrations.
|
||||
|
||||
Reference in New Issue
Block a user