Problem 1: `models.URLField` needs to be subclassed to change allowed
`schemes`
Problem 2: `forms.URLField` needs to be subclassed to change allowed
`schemes`
Problem 3: `validators.URLValidator` needs to be subclassed to change
`regex` to allow `netloc` that is a hostname without a domain ad TLD
At the very least, making these changes should be documented better. The
message accompanying ValidationError gives no hint as to the source issue
with a URL.
--
Ticket URL: <https://code.djangoproject.com/ticket/29311>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => duplicate
* type: Bug => Cleanup/optimization
* component: Uncategorized => Database layer (models, ORM)
Comment:
Duplicate of #25594.
--
Ticket URL: <https://code.djangoproject.com/ticket/29311#comment:1>