mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #6811: Fix exception when editing users
This commit is contained in:
@ -1,5 +1,13 @@
|
||||
# NetBox v3.0
|
||||
|
||||
## v3.0-beta2 (FUTURE)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#6811](https://github.com/netbox-community/netbox/issues/6811) - Fix exception when editing users
|
||||
|
||||
---
|
||||
|
||||
## v3.0-beta1 (2021-07-23)
|
||||
|
||||
!!! warning "Existing Deployments Must Upgrade from v2.11"
|
||||
|
@ -22,7 +22,7 @@ class ObjectPermissionInline(admin.TabularInline):
|
||||
verbose_name_plural = 'Permissions'
|
||||
|
||||
def get_queryset(self, request):
|
||||
return super().get_queryset(request).prefetch_related('objectpermission__object_types').nocache()
|
||||
return super().get_queryset(request).prefetch_related('objectpermission__object_types')
|
||||
|
||||
@staticmethod
|
||||
def object_types(instance):
|
||||
|
Reference in New Issue
Block a user