forgot base dir
This commit is contained in:
parent
e573c61b6a
commit
8024fcc8f5
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user