Novinky | admin

This commit is contained in:
Bc. Petr Pecha 2015-06-23 11:32:16 +02:00
parent 836905b3de
commit 42df6f9265

View file

@ -8,7 +8,7 @@ from ckeditor.widgets import CKEditorWidget
from django.db.models import Count from django.db.models import Count
from django.db import models 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 import autocomplete_light
@ -317,3 +317,9 @@ class SoustredeniAdmin(reversion.VersionAdmin):
admin.site.register(Soustredeni, SoustredeniAdmin) admin.site.register(Soustredeni, SoustredeniAdmin)
### Novinky
class NovinkyAdmin(admin.ModelAdmin):
pass
admin.site.register(Novinky, NovinkyAdmin)