We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34597f7 commit f8287c2Copy full SHA for f8287c2
1 file changed
notification/admin.py
@@ -64,3 +64,8 @@ class WebhookSubscriptionAdmin(ProhibitDataspaceLookupMixin, DataspacedAdmin):
64
actions_to_remove = ["copy_to", "compare_with"]
65
email_notification_on = ()
66
inlines = [WebhookDeliveryInline]
67
+
68
+ def get_inlines(self, request, obj=None):
69
+ if obj is None:
70
+ return []
71
+ return super().get_inlines(request, obj)
0 commit comments