1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

9856 fix partial dcim FK

This commit is contained in:
Arthur
2024-03-07 10:48:50 -08:00
parent e53475a63f
commit 676764a661
3 changed files with 48 additions and 33 deletions

View File

@@ -158,8 +158,7 @@ class IPAddressType(NetBoxObjectType, BaseIPAddressFamilyType):
@strawberry_django.type(
models.IPRange,
# fields='__all__',
exclude=('start_address', 'end_address',), # bug - temp
fields='__all__',
filters=IPRangeFilter
)
class IPRangeType(NetBoxObjectType):
@@ -172,8 +171,7 @@ class IPRangeType(NetBoxObjectType):
@strawberry_django.type(
models.Prefix,
# fields='__all__',
exclude=('prefix',), # bug - temp
fields='__all__',
filters=PrefixFilter
)
class PrefixType(NetBoxObjectType, BaseIPAddressFamilyType):