removing changes to template system

This commit is contained in:
Sam
2021-03-15 13:52:41 +00:00
parent 6557207e45
commit 4b05782ca6

View File

@@ -85,7 +85,7 @@ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, '../templates'),], 'DIRS': [os.path.join(BASE_DIR, '../templates'),],
# 'APP_DIRS': True, 'APP_DIRS': True,
'OPTIONS': { 'OPTIONS': {
'context_processors': [ 'context_processors': [
'django.template.context_processors.debug', 'django.template.context_processors.debug',
@@ -93,12 +93,6 @@ TEMPLATES = [
'django.contrib.auth.context_processors.auth', 'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages', '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/ # https://docs.djangoproject.com/en/2.2/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATIC_ROOT = 'static'
TAXONOMY_FILE = 'shop-taxonomy.es-ES.txt' TAXONOMY_FILE = 'shop-taxonomy.es-ES.txt'