Zakomentovani pohadky
This commit is contained in:
parent
d632b82e1d
commit
9bc7588980
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ class CisloForm(ModelForm):
|
|||
class Meta:
|
||||
model = m.Cislo
|
||||
fields = '__all__'
|
||||
|
||||
|
||||
def clean(self):
|
||||
if self.cleaned_data.get('verejne_db') == False:
|
||||
return self.cleaned_data
|
||||
|
@ -154,7 +154,7 @@ class ResitelInline(admin.TabularInline):
|
|||
extra = 1
|
||||
|
||||
|
||||
admin.site.register(m.Pohadka)
|
||||
# admin.site.register(m.Pohadka)
|
||||
admin.site.register(m.Obrazek)
|
||||
admin.site.register(m.Nastaveni, SingletonModelAdmin)
|
||||
admin.site.register(m.Novinky)
|
||||
|
|
Loading…
Reference in a new issue