django
django copied to clipboard
feat: URLValidator Error Cause
The URLValidator lets you know there is something wrong with the URL, but not why it is wrong. This commit adds a cause to the errors and more detail to the error message.
Hi @dopry , thanks for this patch. however, all features require an accepted ticket.
Hello @dopry! Thank you for your first contribution. As @DevilsAutumn mentioned, non trivial changes like this would need an accepted ticket and also a higher level consideration to evaluate whether a change like this is desirable in other validators. For more details about contributing to Django, please see the documented guidelines for requesting features.