from django import forms from .models import ImportSourceURLs class ImportSourceURLsForm(forms.Form): url = forms.URLField( label="Add URL", required=True, widget=forms.TextInput( attrs={ 'placeholder': 'https://example.com', 'class': 'form-control' } ) )