Misc cleanup
This commit is contained in:
parent
f06f8f3f1d
commit
be1a29d7ee
|
|
@ -2627,7 +2627,7 @@ class DeviceView(generic.ObjectView):
|
|||
model='ipam.Service',
|
||||
title=_('Application Services'),
|
||||
filters={'device_id': lambda ctx: ctx['object'].pk},
|
||||
exclude_columns=['device'],
|
||||
exclude_columns=['parent'],
|
||||
actions=[
|
||||
actions.AddObject(
|
||||
'ipam.Service',
|
||||
|
|
|
|||
|
|
@ -203,7 +203,6 @@ class GroupView(generic.ObjectView):
|
|||
ObjectsTablePanel(
|
||||
'users.User',
|
||||
filters={'group_id': lambda ctx: ctx['object'].pk},
|
||||
exclude_columns=['group'],
|
||||
),
|
||||
ObjectsTablePanel(
|
||||
'users.ObjectPermission',
|
||||
|
|
@ -420,12 +419,10 @@ class OwnerView(GetRelatedModelsMixin, generic.ObjectView):
|
|||
ObjectsTablePanel(
|
||||
'users.Group',
|
||||
filters={'owner_id': lambda ctx: ctx['object'].pk},
|
||||
exclude_columns=['owner'],
|
||||
),
|
||||
ObjectsTablePanel(
|
||||
'users.User',
|
||||
filters={'owner_id': lambda ctx: ctx['object'].pk},
|
||||
exclude_columns=['owner'],
|
||||
),
|
||||
],
|
||||
right_panels=[
|
||||
|
|
|
|||
Loading…
Reference in New Issue