Skip to content

Commit

Permalink
tidy up settings
Browse files Browse the repository at this point in the history
  • Loading branch information
nmenezes0 committed Mar 15, 2024
1 parent 74bd3db commit 4bc37a5
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions consultation_analyser/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,13 @@

TEMPLATES = [
{
"BACKEND": "django_jinja.jinja2.Jinja2",
"DIRS": [
BASE_DIR / "consultation_analyser" / "consultations" / "templates",
],
"BACKEND": "django.template.backends.jinja2.Jinja2",
"APP_DIRS": True,
"OPTIONS": {"environment": "consultation_analyser.jinja2.environment"},
},
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"APP_DIRS": True,
"OPTIONS": {
"match_extension": ".html",
"extensions": DEFAULT_EXTENSIONS + ["compressor.contrib.jinja2ext.CompressorExtension"],
},
},
]

Expand Down

0 comments on commit 4bc37a5

Please sign in to comment.