From ede37c90dd558ac7f8db1cd611b6c0661b6b4dc9 Mon Sep 17 00:00:00 2001 From: "Gleb O. Ivaniczkij" Date: Sun, 22 Sep 2024 18:08:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=BE=D0=B4=D0=B5=D0=BB=D1=8F=D0=BC=20?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=B2=20=D0=B5=D0=B4=D0=B8=D0=BD=D1=81?= =?UTF-8?q?=D1=82=D0=B2=D0=B5=D0=BD=D0=BD=D0=BE=D0=BC=20=D1=87=D0=B8=D1=81?= =?UTF-8?q?=D0=BB=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/models.py b/app/models.py index 32d1cbf..a006ca6 100644 --- a/app/models.py +++ b/app/models.py @@ -19,7 +19,8 @@ def upload_to(path, /): class RoomImage(Model): class Meta: - verbose_name_plural = 'Изображения комнат' + verbose_name = 'изображение комнаты' + verbose_name_plural = 'изображения комнат' image = ImageField( verbose_name='Изображение', @@ -29,7 +30,8 @@ class RoomImage(Model): class RoomPanorama(Model): class Meta: - verbose_name_plural = 'Панорамы комнат' + verbose_name = 'панорама комнаты' + verbose_name_plural = 'панорамы комнат' image = ImageField( verbose_name='Изображение', @@ -39,7 +41,8 @@ class RoomPanorama(Model): class Room(Model): class Meta: - verbose_name_plural = 'Комнаты' + verbose_name = 'комната' + verbose_name_plural = 'комнаты' name = CharField( verbose_name='Название',