Validator icon indicating copy to clipboard operation
Validator copied to clipboard

New Rule: URL

Open CSenshi opened this issue 5 years ago • 2 comments

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:

CSenshi avatar Jun 28 '20 21:06 CSenshi

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

CSenshi avatar Jun 28 '20 21:06 CSenshi

I would like to work on that

bakurits avatar Jul 12 '20 13:07 bakurits