master
Nick Sergeant 2012-04-23 22:02:43 -04:00
parent 1cc636938d
commit d75adce874
1 changed files with 6 additions and 0 deletions

View File

@ -200,6 +200,12 @@ LOGIN_URL = '/login/'
LOGOUT_URL = '/logout/'
ACCOUNT_ACTIVATION_DAYS = 0
# HTTPS
if not DEBUG:
USE_HTTPS = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
# User absolute URLs
ABSOLUTE_URL_OVERRIDES = {
'auth.user': lambda u: "/%s/" % u.username,