Provizorní Fix Adminu Řešení
This commit is contained in:
parent
7b252613ca
commit
3685007b17
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue