symposion_app/symposion/conference/admin.py

7 lines
260 B
Python

from django.contrib import admin
from conference.models import Conference, Section
admin.site.register(Conference, list_display=("title", "start_date", "end_date"))
admin.site.register(Section, list_display=("name", "conference", "start_date", "end_date"))