Skip to content

Commit

Permalink
chore(events): display field of youtube id on admin site
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwang44 committed Dec 6, 2021
1 parent 98172ed commit eb29d14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/events/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ class JobListingEventAdmin(admin.ModelAdmin):

@admin.register(ProposedTalkEvent)
class ProposedTalkEventAdmin(admin.ModelAdmin):
fields = ['conference', 'proposal', 'begin_time', 'end_time', 'location', 'is_remote']
fields = [
'conference', 'proposal', 'begin_time', 'end_time', 'location', 'is_remote',
'youtube_id'
]
list_display = ['proposal', 'begin_time', 'end_time', 'location', 'is_remote']
list_filter = [BeginTimeRangeFilter, EndTimeRangeFilter, 'location', 'is_remote']
raw_id_fields = ['proposal']
Expand Down

0 comments on commit eb29d14

Please sign in to comment.