Skip to content

Commit

Permalink
Merge pull request #28 from jdeanwallace/dev-settings
Browse files Browse the repository at this point in the history
Add APP_DIR setting.
  • Loading branch information
jdeanwallace authored Dec 8, 2022
2 parents ec879bf + 6048596 commit 6e07e60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

# Build paths inside the project like this: BASE_DIR / 'subdir'.
SETTINGS_DIR = Path(__file__).resolve().parent
BASE_DIR = SETTINGS_DIR.parent.parent
APP_DIR = SETTINGS_DIR.parent
BASE_DIR = APP_DIR.parent
LOG_DIR = os.environ.get('LOG_DIR', BASE_DIR)


Expand Down

0 comments on commit 6e07e60

Please sign in to comment.