From 42df6f9265527e429a859a63536b05b4d2f11c84 Mon Sep 17 00:00:00 2001 From: "Bc. Petr Pecha" Date: Tue, 23 Jun 2015 11:32:16 +0200 Subject: [PATCH] Novinky | admin --- seminar/admin.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/seminar/admin.py b/seminar/admin.py index d8fdd2aa..39ff2f05 100644 --- a/seminar/admin.py +++ b/seminar/admin.py @@ -8,7 +8,7 @@ from ckeditor.widgets import CKEditorWidget from django.db.models import Count from django.db import models -from seminar.models import Skola, Resitel, Rocnik, Cislo, Problem, Reseni, PrilohaReseni, Nastaveni, Soustredeni, Soustredeni_Ucastnici +from seminar.models import Skola, Resitel, Rocnik, Cislo, Problem, Reseni, PrilohaReseni, Nastaveni, Soustredeni, Soustredeni_Ucastnici, Novinky import autocomplete_light @@ -317,3 +317,9 @@ class SoustredeniAdmin(reversion.VersionAdmin): admin.site.register(Soustredeni, SoustredeniAdmin) +### Novinky + +class NovinkyAdmin(admin.ModelAdmin): + pass + +admin.site.register(Novinky, NovinkyAdmin)