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:
@ -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)'),
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user