From 3685007b172725864256ba43fa6160d04c67b8b5 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Fri, 10 Sep 2021 01:19:37 +0200 Subject: [PATCH] =?UTF-8?q?Provizorn=C3=AD=20Fix=20Adminu=20=C5=98e=C5=A1e?= =?UTF-8?q?n=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seminar/admin.py b/seminar/admin.py index d208bb18..81314119 100644 --- a/seminar/admin.py +++ b/seminar/admin.py @@ -240,7 +240,8 @@ class Reseni_ResiteleInline(admin.TabularInline): class ReseniAdmin(ReverseModelAdmin): base_model = m.Reseni inline_type = 'tabular' - inline_reverse = ['text_cely','resitele'] + # inline_reverse = ['text_cely','resitele'] TODO vrátit zpět a zrychlit dotaz + inline_reverse = ['resitele'] exclude = ['text_zkraceny', 'text_zkraceny_set'] inlines = [PrilohaReseniInline] # FAIL in template