Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anatskiy committed Jan 25, 2017
1 parent ce8b89d commit a691d08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
LOG_DIR = os.path.join(BASE_DIR, 'logs')

# Make sure the 'logs' directory exists. If not, create it
try:
os.makedirs(LOG_DIR)
except OSError:
pass

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
Expand Down

0 comments on commit a691d08

Please sign in to comment.