Browse Source

seminar | admin | oprava inline

V inline potreba primo pole, neni to ve vypisu,
kde mame jen indikátor, zda je nebo neni zverejneno
remotes/origin/feincms
Bc. Petr Pecha 10 years ago
parent
commit
5fba3c30ba
  1. 2
      seminar/admin.py

2
seminar/admin.py

@ -59,7 +59,7 @@ admin.site.register(Cislo, CisloAdmin)
class CisloInline(admin.StackedInline): class CisloInline(admin.StackedInline):
model = Cislo model = Cislo
fields = ['cislo', 'datum_vydani', 'datum_deadline', 'verejne'] fields = ['cislo', 'datum_vydani', 'datum_deadline', 'verejne_db']
readonly_fields = ['cislo'] readonly_fields = ['cislo']
extra = 0 extra = 0

Loading…
Cancel
Save