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

@@ -105,14 +105,14 @@ class RackDimensionUnitChoices(ChoiceSet):
}
class RackElevationDetailRenderFormatChoices(ChoiceSet):
class RackElevationDetailRenderChoices(ChoiceSet):
RENDER_FORMAT_JSON = 'json'
RENDER_FORMAT_SVG = 'svg'
RENDER_JSON = 'json'
RENDER_SVG = 'svg'
CHOICES = (
(RENDER_FORMAT_JSON, 'json'),
(RENDER_FORMAT_SVG, 'svg')
(RENDER_JSON, 'json'),
(RENDER_SVG, 'svg')
)