from django.db import models
from backend.utils import carrouselImages_path_and_rename


class carrouselPromo(models.Model):
    title = models.CharField(max_length=40, unique=True, null=False, blank=
        False)
    image = models.ImageField(upload_to=carrouselImages_path_and_rename,
        blank=False, null=False)

    def __str__(self):
        return self.title

ce1ee85a0723ef9d2ee643417d39e9d4d230971c
<mask token>


class carrouselPromo(models.Model):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class carrouselPromo(models.Model):
    <mask token>
    <mask token>

    def __str__(self):
        return self.title

<mask token>


class carrouselPromo(models.Model):
    title = models.CharField(max_length=40, unique=True, null=False, blank=
        False)
    image = models.ImageField(upload_to=carrouselImages_path_and_rename,
        blank=False, null=False)

    def __str__(self):
        return self.title

from django.db import models
from backend.utils import carrouselImages_path_and_rename


class carrouselPromo(models.Model):
    title = models.CharField(max_length=40, unique=True, null=False, blank=
        False)
    image = models.ImageField(upload_to=carrouselImages_path_and_rename,
        blank=False, null=False)

    def __str__(self):
        return self.title
