www-bocal/mainsite/admin.py

9 lines
250 B
Python
Raw Normal View History

2017-09-21 10:58:19 +02:00
from django.contrib import admin
from solo.admin import SingletonModelAdmin
2017-09-21 19:58:42 +02:00
from . import models
2017-09-21 10:58:19 +02:00
2017-09-21 19:58:42 +02:00
admin.site.register(models.SiteConfiguration, SingletonModelAdmin)
2017-09-21 19:58:42 +02:00
admin.site.register(models.Publication)
admin.site.register(models.PublicationYear)