Source code for proceedings.admin
__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"
from django.contrib import admin
from .models import Proceedings
[docs]class ProceedingsAdmin(admin.ModelAdmin):
list_display = (
"__str__",
"issue",
)
list_filter = ("issue",)
search_fields = [
"issue",
"event_name",
]
autocomplete_fields = [
"issue",
"lead_fellow",
"fellowships",
]
admin.site.register(Proceedings, ProceedingsAdmin)