X-Git-Url: https://git.openstreetmap.org/osqa.git/blobdiff_plain/f8e781a472502ff7f6ef1b2b279d752f4fa8620f..143150bddf1a02498da0dcbdf0ad59d540c1519a:/settings_local.py.dist diff --git a/settings_local.py.dist b/settings_local.py.dist index f48a8e1..ad178f6 100644 --- a/settings_local.py.dist +++ b/settings_local.py.dist @@ -51,12 +51,18 @@ DATABASES = { 'PASSWORD': '', 'HOST': '', 'PORT': '', + 'CONN_MAX_AGE': 600, } } CACHE_BACKEND = 'file://%s' % os.path.join(os.path.dirname(__file__),'cache').replace('\\','/') #CACHE_BACKEND = 'dummy://' SESSION_ENGINE = 'django.contrib.sessions.backends.db' +# Customize the values below if OSQA is in a subfolder and especially you're planning on +# running multiple Django applications (OSQA or others) on the same domain in different +# subfolders +#SESSION_COOKIE_PATH = '/' +#CSRF_COOKIE_PATH = '/' # This should be equal to your domain name, plus the web application context. # This shouldn't be followed by a trailing slash.