Change paths in settings to be irrespective of user name
Update the paths to locations relative to the project BASE_DIR
Change-Id: I6d01eaf46048cbc47bd85a6542e199e015d4814f
diff --git a/hiccup/settings.py b/hiccup/settings.py
index 939e5e3..171a3e1 100644
--- a/hiccup/settings.py
+++ b/hiccup/settings.py
@@ -181,7 +181,7 @@
STATIC_URL = '/static/'
-STATIC_ROOT = "/home/hiccup/static/static"
+STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# Logging
@@ -194,7 +194,7 @@
'file': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
- 'filename': '/home/hiccup/log/debug.log',
+ 'filename': os.path.join(BASE_DIR, 'debug.log'),
},
},
'loggers': {