From 7e6dd72722a75205e1164e7c472dea9a706be9b6 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Mon, 13 May 2024 23:13:51 +0200 Subject: [PATCH] =?UTF-8?q?P=C5=99esunut=C3=AD=20admina=20pro=20novinky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- novinky/admin.py | 4 +++- seminar/admin.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/novinky/admin.py b/novinky/admin.py index 8c38f3f3..ea822bca 100644 --- a/novinky/admin.py +++ b/novinky/admin.py @@ -1,3 +1,5 @@ from django.contrib import admin -# Register your models here. +from .models import Novinky + +admin.site.register(Novinky) diff --git a/seminar/admin.py b/seminar/admin.py index 8f589a03..deaba97f 100644 --- a/seminar/admin.py +++ b/seminar/admin.py @@ -186,4 +186,3 @@ class ResitelInline(admin.TabularInline): # admin.site.register(m.Pohadka) admin.site.register(m.Obrazek) admin.site.register(m.Nastaveni, SingletonModelAdmin) -admin.site.register(m.Novinky)