removing changes to template system
This commit is contained in:
@@ -85,7 +85,7 @@ TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [os.path.join(BASE_DIR, '../templates'),],
|
||||
# 'APP_DIRS': True,
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
'django.template.context_processors.debug',
|
||||
@@ -93,12 +93,6 @@ TEMPLATES = [
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
'django.contrib.messages.context_processors.messages',
|
||||
],
|
||||
'loaders': [
|
||||
(
|
||||
'django.template.loaders.filesystem.Loader',
|
||||
[os.path.join(BASE_DIR, '../templates')],
|
||||
),
|
||||
],
|
||||
},
|
||||
},
|
||||
]
|
||||
@@ -159,7 +153,7 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/2.2/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = 'static'
|
||||
|
||||
TAXONOMY_FILE = 'shop-taxonomy.es-ES.txt'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user