Summary
The TEMPLATES['DIRS'] setting in taccsite_cms/settings.py uses globbing to include taccsite_custom folders ahead of app templates. While intended to let site-specific templates override packaged templates, the glob and ordering can be opaque and result in accidental shadowing.
Files / Locations
taccsite_cms/settings.py: TEMPLATES['DIRS'] configuration
Problems / Impact
- Accidental shadowing: similarly-named templates in
taccsite_custom subdirs may override package templates unexpectedly.
- Order/priority can vary depending on filesystem ordering of glob results.
- Difficult to audit which custom templates are active.
Client Apps
These apps rely on TACC/Core-CMS:
Note
Generated by AI. Edited by @wesleyboar.
Summary
The
TEMPLATES['DIRS']setting intaccsite_cms/settings.pyuses globbing to includetaccsite_customfolders ahead of app templates. While intended to let site-specific templates override packaged templates, the glob and ordering can be opaque and result in accidental shadowing.Files / Locations
taccsite_cms/settings.py:TEMPLATES['DIRS']configurationProblems / Impact
taccsite_customsubdirs may override package templates unexpectedly.Client Apps
These apps rely on TACC/Core-CMS: