diff --git a/procat2/settings.py b/procat2/settings.py index 4607c4b..745967d 100644 --- a/procat2/settings.py +++ b/procat2/settings.py @@ -31,7 +31,7 @@ LOGGING = { 'file': { 'level': 'DEBUG', 'class': 'logging.FileHandler', - 'filename': 'debug.log', + 'filename': '/var/log/django.log', }, 'console': { 'class': 'logging.StreamHandler', @@ -108,7 +108,7 @@ ROOT_URLCONF = 'procat2.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': ['templates'], + 'DIRS': [TEMPLATES_DIR], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ @@ -160,7 +160,7 @@ USE_L10N = True USE_TZ = True # Static files (CSS, JavaScript, Images) -# https://docs.djangoproject.com/en/2.1/howto/static-files/ +# https://docs.djangoproject.com/en/2.2/howto/static-files/ STATIC_URL = '/static/' # (STATIC_ROOT set in settings_ansible.py) STATICFILES_DIRS = [