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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user