diff --git a/dss/settings.py b/dss/settings.py index f0a34b9..b2d01a3 100755 --- a/dss/settings.py +++ b/dss/settings.py @@ -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).