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

Add notes to admin UI encouraging Jinja2 over legacy Django templating

This commit is contained in:
Jeremy Stretch
2020-08-03 14:09:32 -04:00
parent b410674f9e
commit 8517434733
2 changed files with 11 additions and 3 deletions

View File

@ -85,12 +85,12 @@ class ObjectChangeActionChoices(ChoiceSet):
class TemplateLanguageChoices(ChoiceSet):
LANGUAGE_DJANGO = 'django'
LANGUAGE_JINJA2 = 'jinja2'
LANGUAGE_DJANGO = 'django'
CHOICES = (
(LANGUAGE_DJANGO, 'Django'),
(LANGUAGE_JINJA2, 'Jinja2'),
(LANGUAGE_DJANGO, 'Django (Legacy)'),
)