Přesunutí admina pro novinky

This commit is contained in:
Pavel "LEdoian" Turinsky 2024-05-13 23:13:51 +02:00
parent 3be9578ec3
commit 7e6dd72722
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,5 @@
from django.contrib import admin from django.contrib import admin
# Register your models here. from .models import Novinky
admin.site.register(Novinky)

View file

@ -186,4 +186,3 @@ class ResitelInline(admin.TabularInline):
# admin.site.register(m.Pohadka) # admin.site.register(m.Pohadka)
admin.site.register(m.Obrazek) admin.site.register(m.Obrazek)
admin.site.register(m.Nastaveni, SingletonModelAdmin) admin.site.register(m.Nastaveni, SingletonModelAdmin)
admin.site.register(m.Novinky)