4👍
✅
What version of Django are you using? It appears that TEMPLATE_DIRS
was used prior to 1.8 but in the current version it has changed to a DIRS
option in the TEMPLATES
setting.
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [
'/home/html/templates/lawrence.com',
'/home/html/templates/default',
],
},
]
- [Django]-What is "workon" when using the Django framework?
- [Django]-Django + postgres and select distinct
Source:stackexchange.com