Fix graph:type choices under /api/extras/_choices/

This commit is contained in:
Jeremy Stretch
2020-01-10 12:18:56 -05:00
parent 830a51d9f5
commit 69a696a8d6
4 changed files with 12 additions and 5 deletions

View File

@@ -42,6 +42,14 @@ CUSTOMLINK_MODELS = [
'virtualization.virtualmachine',
]
# Models which can have Graphs associated with them
GRAPH_MODELS = (
'circuits.provider',
'dcim.device',
'dcim.interface',
'dcim.site',
)
# Models which support export templates
EXPORTTEMPLATE_MODELS = [
'circuits.circuit',