1👍
✅
As the documentation on a URLField
says [Django-doc]:
- Default widget:
URLInput
You thus can use a URLInput
widget [Django-doc] for that:
link = forms.URLField(widget=forms.URLInput())
Source:stackexchange.com