Ejemplo de Imagefield Django

from django.db import models

class Car(models.Model):
    name = models.CharField(max_length=255)
    photo = models.ImageField(upload_to='cars')

    
bilalahmed_dev