Gallery-Archivist/archivist/apps/importer/forms.py

17 lines
368 B
Python

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'
}
)
)