Explorar o código

#14132: Annotate WebhooksMixin renaming under breaking changes

Jeremy Stretch %!s(int64=2) %!d(string=hai) anos
pai
achega
c78a792ccc
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      docs/release-notes/version-3.7.md
  2. 1 1
      netbox/netbox/models/features.py

+ 1 - 0
docs/release-notes/version-3.7.md

@@ -14,6 +14,7 @@
 * The internal ConfigRevision model has moved from `extras` to `core`. Configuration history will be retained throughout the upgrade process.
 * The [L2VPN](../models/vpn/l2vpn.md) and [L2VPNTermination](../models/vpn/l2vpntermination.md) models have moved from the `ipam` app to the new `vpn` app. All object data will be retained, however please note that the relevant API endpoints have likewise moved to `/api/vpn/`.
 * The `CustomFieldsMixin`, `SavedFiltersMixin`, and `TagsMixin` classes have moved from the `extras.forms.mixins` module to `netbox.forms.mixins`.
+* The `netbox.models.features.WebhooksMixin` class has been renamed to `EventRulesMixin`.
 
 ### New Features
 

+ 1 - 1
netbox/netbox/models/features.py

@@ -30,13 +30,13 @@ __all__ = (
     'CustomFieldsMixin',
     'CustomLinksMixin',
     'CustomValidationMixin',
+    'EventRulesMixin',
     'ExportTemplatesMixin',
     'ImageAttachmentsMixin',
     'JobsMixin',
     'JournalingMixin',
     'SyncedDataMixin',
     'TagsMixin',
-    'EventRulesMixin',
 )