Provizorní Fix Adminu Řešení

This commit is contained in:
Jonas Havelka 2021-09-10 01:19:37 +02:00
parent 7b252613ca
commit 3685007b17

View file

@ -240,7 +240,8 @@ class Reseni_ResiteleInline(admin.TabularInline):
class ReseniAdmin(ReverseModelAdmin): class ReseniAdmin(ReverseModelAdmin):
base_model = m.Reseni base_model = m.Reseni
inline_type = 'tabular' 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'] exclude = ['text_zkraceny', 'text_zkraceny_set']
inlines = [PrilohaReseniInline] inlines = [PrilohaReseniInline]
# FAIL in template # FAIL in template