Add: basic Upload file form
This commit is contained in:
parent
8251e2900f
commit
decd00bb6e
1 changed files with 7 additions and 0 deletions
7
archivist/apps/files/forms.py
Normal file
7
archivist/apps/files/forms.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
from django import forms
|
||||||
|
from .models import Submission_File
|
||||||
|
|
||||||
|
class UploadFileForm(forms.ModelForm):
|
||||||
|
class Meta:
|
||||||
|
model = Submission_File
|
||||||
|
fields = ['file']
|
Loading…
Reference in a new issue