Skip to content
Snippets Groups Projects
Unverified Commit e2ebba13 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Make BASE_DIR non-configurable.

parent 4de3b941
No related branches found
Tags 0.1
No related merge requests found
......@@ -5,7 +5,7 @@ from local_settings import load_and_check_settings, LocalSetting, SecretSetting
from .util import get_app_packages
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = LocalSetting(default=os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = SecretSetting()
......
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