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