17 lines
405 B
Python
17 lines
405 B
Python
from django.utils.translation import gettext_lazy as _
|
|
|
|
from utils.models import ProjectBaseMixin, ImageMixin
|
|
|
|
|
|
class Gallery(ProjectBaseMixin, ImageMixin):
|
|
"""Gallery model."""
|
|
|
|
class Meta:
|
|
"""Meta class."""
|
|
verbose_name = _('Gallery')
|
|
verbose_name_plural = _('Galleries')
|
|
|
|
def __str__(self):
|
|
"""String representation"""
|
|
return str(self.get_image_url)
|