Add: furaffinity forms.py
This commit is contained in:
parent
6092bbd0c7
commit
5177347241
1 changed files with 15 additions and 0 deletions
15
archivist/sites/furaffinity/forms.py
Normal file
15
archivist/sites/furaffinity/forms.py
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
from django import forms
|
||||||
|
|
||||||
|
from .models import FA_Submission
|
||||||
|
|
||||||
|
class SearchForm(forms.Form):
|
||||||
|
search_query = forms.CharField(label='Search', max_length=100)
|
||||||
|
|
||||||
|
class URLImportForm(forms.Form):
|
||||||
|
url = forms.URLField(label='Post URL', required=True)
|
||||||
|
|
||||||
|
|
||||||
|
#class DateTimeForm(forms.ModelForm):
|
||||||
|
# class Meta:
|
||||||
|
# model = FA_Submission
|
||||||
|
# fields = ['submission_id', 'media_url', 'title', 'description', 'artist', 'date', 'species']
|
Loading…
Reference in a new issue