text: from django.contrib import admin
  
  from modeltranslation.admin import TranslationAdmin
  
  from import_export.admin import ImportMixin, ImportExportMixin
  
  from .models import Attendee, Venue, Choice, CommunityTrackEvent
  from .resources import AttendeeResource, CommunityTrackEventResource
  
  
  # Register your models here.
  @admin.register(Attendee)
  class AttendeeAdmin(ImportMixin, admin.ModelAdmin):
      list_display = [
          'token', 'verified', 'created_at', 'verified_at'
      ]
  
      list_filter = [
          'verified',
      ]
      resource_class = AttendeeResource
  
  
  @admin.register(Venue)
  class VenueAdmin(ImportExportMixin, TranslationAdmin):
      list_display = ('name', 'photo', 'address', 'community', 'topic', 'capacity', )
  
  
  @admin.register(Choice)
  class ChoiceAdmin(admin.ModelAdmin):
      # list_display = ('name', 'photo')
      pass
  
  
  @admin.register(CommunityTrackEvent)
  class CommunityTrackEvent(ImportExportMixin, TranslationAdmin):
      list_display = ('venue', 'get_event', 'begin_time', 'end_time', 'order', )
      list_filter = ('order', )
      raw_id_fields = ('talk', )
  
      resource_class = CommunityTrackEventResource
  