From 1ff75e88016a8560dcf28216fdb08c48419e867b Mon Sep 17 00:00:00 2001 From: "Tomas \"Jethro\" Pokorny" Date: Wed, 5 Dec 2018 23:33:37 +0100 Subject: [PATCH] Galerie | nezobrazovat nedulezite sloupce --- galerie/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galerie/admin.py b/galerie/admin.py index 8e9c1897..9ab2c3ba 100644 --- a/galerie/admin.py +++ b/galerie/admin.py @@ -44,7 +44,7 @@ class GalerieAdmin(admin.ModelAdmin): form = autocomplete_light.modelform_factory(Galerie, autocomplete_fields=['titulni_obrazek'], fields=['titulni_obrazek']) model = Galerie fields = ('zobrazit', 'nazev', 'titulni_obrazek', 'popis', 'galerie_up', 'soustredeni', 'poradi') - list_display = ('nazev', 'pk', 'poradi', 'datum_zmeny', 'zobrazit', 'soustredeni') + list_display = ('nazev', 'soustredeni', 'galerie_up', 'poradi', 'zobrazit', 'datum_zmeny') inlines = [GalerieInline] actions = [zverejnit_fotogalerii, prepnout_fotogalerii_do_org_rezimu] save_on_top = True