diff --git a/back_latienda/settings/base.py b/back_latienda/settings/base.py index af2f1b1..4996fc6 100644 --- a/back_latienda/settings/base.py +++ b/back_latienda/settings/base.py @@ -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'