small fix
This commit is contained in:
parent
b78c4f82fe
commit
1e3c80ad0c
|
|
@ -37,7 +37,7 @@ class Image(ProjectBaseMixin, SORLImageMixin, PlatformMixin):
|
|||
|
||||
def __str__(self):
|
||||
"""String representation"""
|
||||
return f'{self.title}'
|
||||
return f'{self.id}'
|
||||
|
||||
def delete_image(self, completely: bool = True):
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ from utils.querysets import ContentTypeQuerySetMixin
|
|||
#
|
||||
|
||||
|
||||
class Currency(models.Model, TranslatedFieldsMixin):
|
||||
class Currency(TranslatedFieldsMixin, models.Model):
|
||||
"""Currency model."""
|
||||
name = TJSONField(
|
||||
_('name'), null=True, blank=True,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user