Skip to content
Snippets Groups Projects
Commit d73f7c31 authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

Define BASE_DIR in development.py

parent 31f4105c
No related branches found
No related tags found
3 merge requests!104Beta,!98Morefront,!91Documents
Pipeline #8414 passed with warnings with stages
in 3 minutes and 51 seconds
......@@ -12,6 +12,9 @@
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
if os.getenv("DJANGO_DEV_STORE_METHOD", "sqlite") != "postgresql":
# Use an SQLite database
DATABASES = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment