Browse Source

Closes #4380: Enable webhooks for rack reservations

Jeremy Stretch 5 năm trước cách đây
mục cha
commit
87f0b19dc0
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 1 0
      docs/release-notes/version-2.7.md
  2. 1 0
      netbox/dcim/models/__init__.py

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

@@ -7,6 +7,7 @@
 * [#738](https://github.com/netbox-community/netbox/issues/738) - Add ability to automatically check for new releases (must be enabled by setting `RELEASE_CHECK_URL`)
 * [#4309](https://github.com/netbox-community/netbox/issues/4309) - Add descriptive tooltip to custom fields on object views
 * [#4369](https://github.com/netbox-community/netbox/issues/4369) - Add a dedicated view for rack reservations
+* [#4380](https://github.com/netbox-community/netbox/issues/4380) - Enable webhooks for rack reservations
 
 ### Bug Fixes
 

+ 1 - 0
netbox/dcim/models/__init__.py

@@ -739,6 +739,7 @@ class Rack(ChangeLoggedModel, CustomFieldModel):
         return 0
 
 
+@extras_features('webhooks')
 class RackReservation(ChangeLoggedModel):
     """
     One or more reserved units within a Rack.