fix BASE_DIR for db

This commit is contained in:
jb-alvarado 2020-04-30 22:23:08 +02:00
parent 58c7115cd7
commit 3c59df8032

View File

@ -14,8 +14,8 @@ import os
from datetime import timedelta from datetime import timedelta
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(
os.path.dirname(os.path.abspath(os.path.join(__file__, '..'))))
# Application definition # Application definition