Fix teacher send action
This commit is contained in:
parent
4abc66d675
commit
35d7056c17
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ 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']
|
||||||
|
|
||||||
def send_link(modeladmin, request, queryset):
|
def send_link(self, request, queryset):
|
||||||
for teacher in queryset:
|
for teacher in queryset:
|
||||||
teacher.send_link(request)
|
teacher.send_link(request)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue