Remove DIRS
from settings.TEMPLATES
It’s more convenient to let the sub-themes declare their own templates (especially with `'APP_DIRS': True`).
This commit is contained in:
parent
411b3245c3
commit
bb8d233411
1 changed files with 0 additions and 3 deletions
|
@ -169,9 +169,6 @@ TEMPLATES = [
|
||||||
{
|
{
|
||||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||||
'APP_DIRS': True,
|
'APP_DIRS': True,
|
||||||
'DIRS': [
|
|
||||||
os.path.join(PROJECT_DIR, 'templates'),
|
|
||||||
],
|
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'context_processors': (
|
'context_processors': (
|
||||||
'django.contrib.auth.context_processors.auth',
|
'django.contrib.auth.context_processors.auth',
|
||||||
|
|
Loading…
Reference in a new issue