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

change render_format to render for svg elevations

This commit is contained in:
John Anderson
2019-12-11 17:33:58 -05:00
parent 77a5f6ef81
commit 645383509b
4 changed files with 12 additions and 12 deletions

View File

@@ -176,9 +176,9 @@ class RackElevationDetailFilterSerializer(serializers.Serializer):
choices=DeviceFaceChoices,
default=DeviceFaceChoices.FACE_FRONT
)
render_format = serializers.ChoiceField(
choices=RackElevationDetailRenderFormatChoices,
default=RackElevationDetailRenderFormatChoices.RENDER_FORMAT_JSON
render = serializers.ChoiceField(
choices=RackElevationDetailRenderChoices,
default=RackElevationDetailRenderChoices.RENDER_JSON
)
unit_width = serializers.IntegerField(
default=RACK_ELEVATION_UNIT_WIDTH_DEFAULT