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

Fixes #4992: Add display_name to nested VRF serializer

This commit is contained in:
Jeremy Stretch
2020-08-13 09:44:01 -04:00
parent 3c395e7c9f
commit acd5f21866
3 changed files with 6 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ class NestedVRFSerializer(WritableNestedSerializer):
class Meta:
model = models.VRF
fields = ['id', 'url', 'name', 'rd', 'prefix_count']
fields = ['id', 'url', 'name', 'rd', 'display_name', 'prefix_count']
#