From 5bf6ae4de1686b9f37ac607e479cb47bd464ea54 Mon Sep 17 00:00:00 2001 From: Sabron Date: Wed, 15 Jan 2025 00:43:15 +0700 Subject: [PATCH] update : 15.01.2025 0:43:15,06 --- apps/gto/models/model_equipment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gto/models/model_equipment.py b/apps/gto/models/model_equipment.py index 0a5e75a..b838e29 100644 --- a/apps/gto/models/model_equipment.py +++ b/apps/gto/models/model_equipment.py @@ -62,7 +62,7 @@ class Equipment(models.Model): # Оборудование """ String for representing the Model object (in Admin site etc.) """ - return self.name + return self.full_name class Meta: # отображение в админики ordering = ('name',)