Plankton_Detector/PlanktonDetector/DetectionApp/models.py

6 lines
152 B
Python

from django.db import models
# Create your models here.
class DetectImage(models.Model):
image = models.ImageField(upload_to="plankton/%Y/%m/%d/")