1
0
forked from erp-dev/erp

feat: notifier beta

This commit is contained in:
2026-04-13 12:30:33 +08:00
parent 646dbe7f18
commit 9512132bb9
50 changed files with 17830 additions and 2 deletions

20
notifier/admin.py Normal file
View File

@@ -0,0 +1,20 @@
from django.contrib import admin
from notifier.models import Notifier
@admin.register(Notifier)
class NotifierAdmin(admin.ModelAdmin):
list_display = [
"id",
"merchant",
"name",
"event_key",
"channel",
"template_key",
"is_enabled",
"created_at",
]
list_filter = ["merchant", "event_key", "channel", "is_enabled", "created_at"]
search_fields = ["name", "template_key", "description"]
readonly_fields = ["created_at", "updated_at"]