Browse Source

Přesunutí admina pro novinky

pull/48/head
Pavel "LEdoian" Turinsky 6 months ago
parent
commit
7e6dd72722
  1. 4
      novinky/admin.py
  2. 1
      seminar/admin.py

4
novinky/admin.py

@ -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)

1
seminar/admin.py

@ -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)

Loading…
Cancel
Save