diff --git a/signal_webhooks/admin.py b/signal_webhooks/admin.py index 88b3ddc..69bd843 100644 --- a/signal_webhooks/admin.py +++ b/signal_webhooks/admin.py @@ -1,3 +1,5 @@ +import logging + from django import forms from django.contrib import admin @@ -6,6 +8,15 @@ from .utils import get_webhookhook_model +__all__ = [ + "WebhookModelForm", + "WebhookAdmin", +] + + +logger = logging.getLogger(__name__) + + WebhookModel = get_webhookhook_model() @@ -40,7 +51,7 @@ def clean(self): @admin.register(WebhookModel) -class HookAdmin(admin.ModelAdmin): +class WebhookAdmin(admin.ModelAdmin): form = WebhookModelForm list_display = [ "name",