forgot base dir

This commit is contained in:
vabene1111 2018-11-07 13:51:00 +01:00
parent e573c61b6a
commit 8024fcc8f5

View File

@ -15,6 +15,8 @@ from django.contrib import messages
from recipes.secret_settings import * from recipes.secret_settings import *
from dotenv import load_dotenv from dotenv import load_dotenv
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production # Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/