Plankton_Detector/PlanktonDetector/DetectionApp/forms.py

9 lines
196 B
Python

from django import forms
from .models import DetectImage
class DetectForm(forms.ModelForm):
class Meta:
model = DetectImage
fields = "__all__"
labels={"image":""}