BO 1.30.15 double Notification class name

This commit is contained in:
Tibor Bossanyi (Freelancer)
2021-10-03 07:51:51 +02:00
parent b1b1eec56b
commit 1a2ab5ddb8
5 changed files with 8 additions and 8 deletions
@@ -17,7 +17,7 @@ else:
from aitrainer_backoffice.models.sports import Sport
from aitrainer_backoffice.models.customer import Customer
from ..automation.notification import Notification
from ..automation.notification import NotificationExec
class SportFilter(SimpleListFilter, ABC):
title = "Sport"
@@ -37,7 +37,7 @@ class SportFilter(SimpleListFilter, ABC):
class CustomerAdmin(admin.ModelAdmin):
notif = Notification()
notif = NotificationExec()
change_list_template = "controlling/mautic.html"
list_display = ('customer_id', 'name','firstname', 'email', 'date_add', 'get_sport')