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"]