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 c95752c commit 6ffff6fCopy full SHA for 6ffff6f
webhook/models.py
@@ -19,6 +19,9 @@
19
if hasattr(settings, 'WEB_HOOK_ACTIONS'):
20
WEB_HOOK_ACTIONS = settings.WEB_HOOK_ACTIONS
21
22
+if hasattr(settings, 'WEB_HOOK_OWNER_LOCAL'):
23
+ WEB_HOOK_OWNER_LOCAL = settings.WEB_HOOK_OWNER_LOCAL
24
+
25
# Work out our dynamic relation
26
app_name = WEB_HOOK_OWNER_MODEL.rsplit('.', 1)[0]
27
model_name = WEB_HOOK_OWNER_MODEL.rsplit('.', 1)[1]
0 commit comments