diff --git a/symposion/proposals/admin.py b/symposion/proposals/admin.py new file mode 100644 index 0000000000000000000000000000000000000000..af274aaa0bb87dd5e0fb6b152df77a3f117327d3 --- /dev/null +++ b/symposion/proposals/admin.py @@ -0,0 +1,32 @@ +from django.contrib import admin + +# from symposion.proposals.actions import export_as_csv_action +from symposion.proposals.models import ProposalSection, ProposalKind + + +# admin.site.register(Proposal, +# list_display = [ +# "id", +# "title", +# "speaker", +# "speaker_email", +# "kind", +# "audience_level", +# "cancelled", +# ], +# list_filter = [ +# "kind__name", +# "result__accepted", +# ], +# actions = [export_as_csv_action("CSV Export", fields=[ +# "id", +# "title", +# "speaker", +# "speaker_email", +# "kind", +# ])] +# ) + + +admin.site.register(ProposalSection) +admin.site.register(ProposalKind)