@@ -191,7 +191,7 @@ class RegistrantAdmin(admin.ModelAdmin, ExportCsvMixin):
191191 ),
192192 )
193193 actions = [send_reminder , 'send_custom_email' , 'migrate_checkinevent' , 'set_participating' , 'export_as_csv' ]
194- list_display = ['id' , 'mainevent' , 'user' , 'phone_number' , 'active_stage' ,
194+ list_display = ['id' , 'mainevent' , 'full_name' , ' user' , 'phone_number' , 'active_stage' ,
195195 'has_completed_active_stage' , 'is_participating' , 'created_at' ]
196196 list_display_links = ['id' , 'user' ]
197197 list_filter = ['is_participating' , HasCompletedActiveStageFilter , 'mainevent' , 'active_stage' ]
@@ -207,6 +207,10 @@ def phone_number(self, instance):
207207 return instance .user .phone_number
208208 phone_number .short_description = 'Phone Number'
209209
210+ def full_name (self , instance ):
211+ return instance .user .full_name
212+ full_name .short_description = 'Full Name'
213+
210214 def get_fieldsets (self , request , obj = None ):
211215 fieldsets = super (RegistrantAdmin , self ).get_fieldsets (request , obj )
212216 newfieldsets = list (fieldsets )
0 commit comments