BO 1.30.15 double Notification class name
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user