Display list confirmation in teacher list
This commit is contained in:
parent
0717581d14
commit
d4820e8b75
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class TeacherResource(resources.ModelResource):
|
||||||
@admin.register(Teacher)
|
@admin.register(Teacher)
|
||||||
class TeacherAdmin(ExportMixin, admin.ModelAdmin):
|
class TeacherAdmin(ExportMixin, admin.ModelAdmin):
|
||||||
resource_class = TeacherResource
|
resource_class = TeacherResource
|
||||||
list_display = ['full_name', 'email', 'phone_number']
|
list_display = ['full_name', 'email', 'phone_number', 'has_confirmed_list']
|
||||||
|
|
||||||
def send_link(self, request, queryset):
|
def send_link(self, request, queryset):
|
||||||
for teacher in queryset:
|
for teacher in queryset:
|
||||||
|
|
Loading…
Reference in a new issue