summaryrefslogtreecommitdiff
path: root/workshop_portal/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'workshop_portal/settings.py')
-rw-r--r--workshop_portal/settings.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/workshop_portal/settings.py b/workshop_portal/settings.py
index 2dfeb08..78f0358 100644
--- a/workshop_portal/settings.py
+++ b/workshop_portal/settings.py
@@ -49,6 +49,7 @@ INSTALLED_APPS = [
'workshop_app',
'statistics_app',
'teams',
+ 'cms',
]
MIDDLEWARE = [
@@ -131,7 +132,7 @@ USE_TZ = True
STATIC_URL = '/static/'
-STATIC_ROOT = os.path.join(BASE_DIR, "static/")
+STATIC_ROOT = 'workshop_app/static/'
LOGIN_URL = '/login/'
@@ -160,7 +161,10 @@ ADMIN_EMAIL = 'your admin email'
# Set True or False to view/hide
SHOW_WORKSHOP_STATS = True
-LOGIN_REDIRECT_URL = '/profile'
+# Create a CMS page as a home page and give the page title here
+HOME_PAGE_TITLE = "home-page-title"
+
+LOGIN_REDIRECT_URL = '/workshop/login'
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
SESSION_SAVE_EVERY_REQUEST = True
SESSION_COOKIE_AGE = 3600