ChangeLoggedModel should inherit WebhooksMixin #7634

Closed
opened 2025-12-29 20:26:18 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Feb 11, 2023).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Add WebhooksMixin to the list of superclasses from which ChangeLoggedModel inherits.

Justification

Every subclass of ChangeLoggedModel currently also inherit from WebhooksMixin, with two exceptions:

  • extras.Branch
  • extras.StagedChange

This change will effectively enable webhooks for the two models above, which I believe is reasonable.

Originally created by @jeremystretch on GitHub (Feb 11, 2023). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Add `WebhooksMixin` to the list of superclasses from which `ChangeLoggedModel` inherits. ### Justification Every subclass of `ChangeLoggedModel` currently also inherit from `WebhooksMixin`, with two exceptions: * `extras.Branch` * `extras.StagedChange` This change will effectively enable webhooks for the two models above, which I believe is reasonable.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:26:18 +01:00
adam closed this issue 2025-12-29 20:26:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7634