mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
fix #4459 - Fix caching issue resulting in erroneous nested data for regions, rack groups, and tenant groups
This commit is contained in:
@@ -479,11 +479,14 @@ CACHEOPS = {
|
||||
'auth.*': {'ops': ('fetch', 'get')},
|
||||
'auth.permission': {'ops': 'all'},
|
||||
'circuits.*': {'ops': 'all'},
|
||||
'dcim.region': None, # MPTT models are exempt due to raw sql
|
||||
'dcim.rackgroup': None, # MPTT models are exempt due to raw sql
|
||||
'dcim.*': {'ops': 'all'},
|
||||
'ipam.*': {'ops': 'all'},
|
||||
'extras.*': {'ops': 'all'},
|
||||
'secrets.*': {'ops': 'all'},
|
||||
'users.*': {'ops': 'all'},
|
||||
'tenancy.tenantgroup': None, # MPTT models are exempt due to raw sql
|
||||
'tenancy.*': {'ops': 'all'},
|
||||
'virtualization.*': {'ops': 'all'},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user