9 lines
196 B
Python
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":""}
|