Browse Source

Novinky | admin

remotes/origin/vysl
Bc. Petr Pecha 10 years ago
parent
commit
42df6f9265
  1. 8
      seminar/admin.py

8
seminar/admin.py

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

Loading…
Cancel
Save