#35981: Add ftp:// protocol to list of protocols in shortcut function in
"django/contrib/contenttypes/views.py"
-------------------------------------+-------------------------------------
Reporter: Nikolay Fedorov | Type: Bug
Status: new | Component:
| contrib.contenttypes
Version: 5.1 | Severity: Normal
Keywords: view, shortcut, ftp | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
I use URLField (that support ftp protocols by default) with ftp:// for
pass to get_absolute_url of my model class and has error trying to follow
"View on site" on my admin.
Please add ftp:// protocol to list of protocols in shortcut function in
"django/contrib/contenttypes/views.py" (line: 41)
--
Ticket URL: <
https://code.djangoproject.com/ticket/35981>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.