Plankton_Detector/PlanktonDetector/DetectionApp/forms.py

12 lines
219 B
Python
Raw Normal View History

from django import forms
2023-12-13 02:11:29 +01:00
from .models import UploadImage
class DetectForm(forms.ModelForm):
class Meta:
2023-12-13 02:11:29 +01:00
model = UploadImage
fields = [
"image",
]
labels = {"image": ""}