summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastermain/settings.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-05-14 14:40:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-29 11:59:43 +0100
commita5236be47fd62d41eaea2d4b4f1a394de0aac4a9 (patch)
treeed78623e18ee07ccd270bda36e51e598b9707469 /bitbake/lib/toaster/toastermain/settings.py
parent5da543c7b5cd565eed285a5015b1cafdc71ddb83 (diff)
downloadpoky-a5236be47fd62d41eaea2d4b4f1a394de0aac4a9.tar.gz
bitbake: toaster: enable server-side sessions for all usages
In an effort to fix client-side session storage using cookies, we enable server-side session support for all pages. (Bitbake rev: ba10b6f89767c0dad8a2b064f42a84956764e9da) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastermain/settings.py')
-rw-r--r--bitbake/lib/toaster/toastermain/settings.py17
1 files changed, 6 insertions, 11 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py
index 80f26e0ce6..225138b32d 100644
--- a/bitbake/lib/toaster/toastermain/settings.py
+++ b/bitbake/lib/toaster/toastermain/settings.py
@@ -258,8 +258,13 @@ TEMPLATE_CONTEXT_PROCESSORS = ('django.contrib.auth.context_processors.auth',
258 ) 258 )
259 259
260INSTALLED_APPS = ( 260INSTALLED_APPS = (
261 #'django.contrib.sites', 261 'django.contrib.auth',
262 'django.contrib.contenttypes',
263 'django.contrib.messages',
264 'django.contrib.sessions',
265 'django.contrib.admin',
262 'django.contrib.staticfiles', 266 'django.contrib.staticfiles',
267
263 # Uncomment the next line to enable admin documentation: 268 # Uncomment the next line to enable admin documentation:
264 # 'django.contrib.admindocs', 269 # 'django.contrib.admindocs',
265 'django.contrib.humanize', 270 'django.contrib.humanize',
@@ -307,16 +312,6 @@ if os.environ.get('TOASTER_DEVEL', None) is not None:
307 312
308SOUTH_TESTS_MIGRATE = False 313SOUTH_TESTS_MIGRATE = False
309 314
310# if we run in managed mode, we need user support
311if MANAGED:
312 INSTALLED_APPS = ('django.contrib.auth',
313 'django.contrib.contenttypes',
314 'django.contrib.messages',
315 'django.contrib.sessions',
316 # Uncomment the next line to enable the admin:
317 'django.contrib.admin',
318 ) + INSTALLED_APPS
319
320 315
321# We automatically detect and install applications here if 316# We automatically detect and install applications here if
322# they have a 'models.py' or 'views.py' file 317# they have a 'models.py' or 'views.py' file