seminar | admin | oprava inline
V inline potreba primo pole, neni to ve vypisu, kde mame jen indikátor, zda je nebo neni zverejneno
This commit is contained in:
parent
f9ad5a799f
commit
5fba3c30ba
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ admin.site.register(Cislo, CisloAdmin)
|
|||
|
||||
class CisloInline(admin.StackedInline):
|
||||
model = Cislo
|
||||
fields = ['cislo', 'datum_vydani', 'datum_deadline', 'verejne']
|
||||
fields = ['cislo', 'datum_vydani', 'datum_deadline', 'verejne_db']
|
||||
readonly_fields = ['cislo']
|
||||
extra = 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue