From 2399010b68ff14c5064d44a65e47877be964feea Mon Sep 17 00:00:00 2001 From: Toksi86 Date: Thu, 4 Sep 2025 12:26:02 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B0=D0=BD=D0=B0=20=D1=81=D1=82=D0=B0=D1=80=D0=BD?= =?UTF-8?q?=D0=B8=D1=86=D0=B0=20=D0=9F=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=B0?= =?UTF-8?q?=20=D0=B2=20=D0=B0=D0=B4=D0=BC.=20=D0=BF=D0=B0=D0=BD=D0=B5?= =?UTF-8?q?=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- projects/admin.py | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/projects/admin.py b/projects/admin.py index 99435e5d..cc30ab34 100644 --- a/projects/admin.py +++ b/projects/admin.py @@ -22,18 +22,9 @@ class ProjectAdmin(admin.ModelAdmin): "target_audience", "implementation_deadline", ) - list_display_links = ( - "id", - "name", - ) - search_fields = ( - "name", - ) - list_filter = ( - "draft", - "is_company", - "trl", - ) + list_display_links = ("id", "name") + search_fields = ("name",) + list_filter = ("draft", "is_company", "trl") fieldsets = ( ( @@ -51,11 +42,14 @@ class ProjectAdmin(admin.ModelAdmin): }, ), ( - "Для проектов ПД МосПолитеха", + "Характеристики проекта", { "fields": ( "actuality", "problem", + "target_audience", + "trl", + "implementation_deadline", ) }, ),