Skip to content

Commit

Permalink
Change model admin name
Browse files Browse the repository at this point in the history
  • Loading branch information
MrThearMan committed Aug 21, 2022
1 parent 7207cd4 commit 973892c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion signal_webhooks/admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import logging

from django import forms
from django.contrib import admin

Expand All @@ -6,6 +8,15 @@
from .utils import get_webhookhook_model


__all__ = [
"WebhookModelForm",
"WebhookAdmin",
]


logger = logging.getLogger(__name__)


WebhookModel = get_webhookhook_model()


Expand Down Expand Up @@ -40,7 +51,7 @@ def clean(self):


@admin.register(WebhookModel)
class HookAdmin(admin.ModelAdmin):
class WebhookAdmin(admin.ModelAdmin):
form = WebhookModelForm
list_display = [
"name",
Expand Down

0 comments on commit 973892c

Please sign in to comment.