Validator
Validator copied to clipboard
New Rule: URL
Write rule that validates data to be date. If data is already datetime class return true. For strings check if it's correctly formatted.
Description: "The field under validation must be a valid date string or class"
Please see CONTRIBUTING.md for Contribution details :100:
Suggestion:
urllib provides parser for urls, you can use it if you want.
from urllib.parse import urlparse
Try to parse url, if error occurs return False
I would like to work on that