1👍
✅
The items in the DIRS
list should be the full path, for example:
'DIRS': ['/path/to/CTracker/CTracker/templates'],
The Django settings file should have a BASE_DIR
defined. You can use this with os.path.join
to avoid hardcoding the full path.
'DIRS': [os.path.join(BASE_DIR, 'CTracker', 'templates')]
Source:stackexchange.com