Browse Source

Provizorní Fix Adminu Řešení

middleware_test
Jonas Havelka 3 years ago
parent
commit
3685007b17
  1. 3
      seminar/admin.py

3
seminar/admin.py

@ -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

Loading…
Cancel
Save