d95d66dac8
We're lock-step with symposion, and upstream is dead. Vendor it.
32 lines
718 B
Python
32 lines
718 B
Python
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)
|