Skip to content

Commit acf412a

Browse files
committed
Updated template loader to disable caching in local environment.
1 parent 228c32f commit acf412a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

djangosnippets/settings/development.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@
99
CACHE_BACKEND = "dummy://"
1010

1111
INSTALLED_APPS = INSTALLED_APPS
12+
13+
TEMPLATES[0]["APP_DIRS"] = False
14+
TEMPLATES[0]["OPTIONS"]["loaders"] = [
15+
"django.template.loaders.filesystem.Loader",
16+
"django.template.loaders.app_directories.Loader",
17+
]

0 commit comments

Comments
 (0)