Compare commits
2 commits
12088d5880
...
5177347241
Author | SHA1 | Date | |
---|---|---|---|
5177347241 | |||
6092bbd0c7 |
3 changed files with 23 additions and 0 deletions
2
archivist/sites/furaffinity/__init__.py
Normal file
2
archivist/sites/furaffinity/__init__.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# __init__.py
|
||||||
|
|
6
archivist/sites/furaffinity/apps.py
Normal file
6
archivist/sites/furaffinity/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class FuraffinityConfig(AppConfig):
|
||||||
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
|
name = 'sites.furaffinity'
|
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