This commit is contained in:
Will Abbott 2024-09-29 17:08:14 +01:00
parent e457e9a1e7
commit 272a16400c
4 changed files with 8 additions and 13 deletions

View file

@ -22,14 +22,14 @@ def configure_django():
"DIRS": ["example_project/templates"],
"OPTIONS": {
"loaders": [
# (
# "django.template.loaders.cached.Loader",
# [
"django_cotton.cotton_loader.Loader",
"django.template.loaders.filesystem.Loader",
"django.template.loaders.app_directories.Loader",
# ],
# ),
(
"django.template.loaders.cached.Loader",
[
"django_cotton.cotton_loader.Loader",
"django.template.loaders.filesystem.Loader",
"django.template.loaders.app_directories.Loader",
],
),
],
"builtins": [
"django_cotton.templatetags.cotton",