bib_recognition/bibrecognition/imguploader/forms.py

8 lines
203 B
Python
Raw Normal View History

2020-06-15 00:32:25 +02:00
# forms.py
from django import forms
from .models import *
class PhotoForm(forms.Form):
zawody = forms.CharField(max_length=50)
file_field = forms.FileField(widget=forms.ClearableFileInput())