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