-
-
Notifications
You must be signed in to change notification settings - Fork 31k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #18119 -- Added a DomainNameValidator validator.
Override __init__ function to add accept IDNA. Updates to DomainNameValidator to add logic around accept_idna flag Remove outdated details from docs. Made changes to domain name validation and tests. Reused regex in URLValidator. Added more changes to the DomainNameValidator so all tests pass. Removed rogue space. Blacken. Update documentation for DomainNameValidator. Remove unused text. Tidy docs. Update docs - fix underline. Update docs/ref/validators.txt Remove unnecessary blank lines. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Update docs/releases/5.1.txt Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Changes to docs for DomainNameValidator. Change name of the parameter. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Update docs for new naming. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Update django/core/validators.py Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Update comments for validators. Reorder docs to have DomainNameValidator next to URLNameValidator. blacken
- Loading branch information
1 parent
34f329e
commit dd9816e
Showing
4 changed files
with
139 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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