Upped session cookie expiry limit

This commit is contained in:
Fergal Moran
2014-08-28 18:29:11 +01:00
parent 78332a5ced
commit 89227186da

View File

@@ -219,3 +219,5 @@ REST_FRAMEWORK = {
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
]
}
#Trying this to see if it stops the user being logged out
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # Age of cookie, in seconds (default: 2 weeks).