mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 17:08:41 -06:00
fixes #3304 - primary IP address caching invalidation
This commit is contained in:
parent
422eeddbef
commit
2c2d6c6d47
@ -1,5 +1,13 @@
|
|||||||
# NetBox v2.8
|
# NetBox v2.8
|
||||||
|
|
||||||
|
v2.8.5 (FUTURE)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* [#3304](https://github.com/netbox-community/netbox/issues/3304) - Fix caching invalidation issue related to device/virtual machine primary IP addresses
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
v2.8.4 (2020-05-13)
|
v2.8.4 (2020-05-13)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
@ -1105,7 +1105,7 @@ class DeviceView(PermissionRequiredMixin, View):
|
|||||||
def get(self, request, pk):
|
def get(self, request, pk):
|
||||||
|
|
||||||
device = get_object_or_404(Device.objects.prefetch_related(
|
device = get_object_or_404(Device.objects.prefetch_related(
|
||||||
'site__region', 'rack__group', 'tenant__group', 'device_role', 'platform'
|
'site__region', 'rack__group', 'tenant__group', 'device_role', 'platform', 'primary_ip4', 'primary_ip6'
|
||||||
), pk=pk)
|
), pk=pk)
|
||||||
|
|
||||||
# VirtualChassis members
|
# VirtualChassis members
|
||||||
|
Loading…
Reference in New Issue
Block a user