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