ExportTemplate.template_language to slug (#3569)

This commit is contained in:
Jeremy Stretch
2019-12-05 17:01:00 -05:00
parent 2583823e5f
commit 89e720cb77
6 changed files with 61 additions and 14 deletions

View File

@@ -85,14 +85,6 @@ EXPORTTEMPLATE_MODELS = [
'virtualization.virtualmachine',
]
# ExportTemplate language choices
TEMPLATE_LANGUAGE_DJANGO = 10
TEMPLATE_LANGUAGE_JINJA2 = 20
TEMPLATE_LANGUAGE_CHOICES = (
(TEMPLATE_LANGUAGE_DJANGO, 'Django'),
(TEMPLATE_LANGUAGE_JINJA2, 'Jinja2'),
)
# Report logging levels
LOG_DEFAULT = 0
LOG_SUCCESS = 10