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

7 lines
No EOL
174 B
Python

from django import forms
from .models import Submission_File
class UploadFileForm(forms.ModelForm):
class Meta:
model = Submission_File
fields = ['file']