Skip to content
This repository
Browse code

[fix bug 854165] Clean up some settings.

  • Loading branch information...
commit 85212d98b739f06dc1978a3f7683d87b206d5bdd 1 parent 6cc467e
James Socol jsocol authored

Showing 1 changed file with 1 addition and 20 deletions. Show diff stats Hide diff stats

  1. +1 20 settings.py
21 settings.py
@@ -356,10 +356,8 @@ def lazy_language_deki_map():
356 356 'django.contrib.auth.middleware.AuthenticationMiddleware',
357 357 'django.contrib.messages.middleware.MessageMiddleware',
358 358 'sumo.anonymous.AnonymousIdentityMiddleware',
359   - #'twitter.middleware.SessionMiddleware',
360 359 'sumo.middleware.PlusToSpaceMiddleware',
361 360 'commonware.middleware.HidePasswordOnException',
362   - #'dekicompat.middleware.DekiUserMiddleware',
363 361 'django.contrib.sessions.middleware.SessionMiddleware',
364 362 'django_statsd.middleware.GraphiteRequestTimingMiddleware',
365 363 'django_statsd.middleware.GraphiteMiddleware',
@@ -433,29 +431,15 @@ def lazy_language_deki_map():
433 431 # SUMO
434 432 'users',
435 433 ROOT_PACKAGE,
436   - #'authority',
437   - #'timezones',
438   - #'access',
439   - #'sumo',
440 434 # TODO: Reenable search when we switch to kuma wiki - or, at least waffle it.
441 435 'search',
442   - #'forums',
443 436 'djcelery',
444 437 'notifications',
445   - #'questions',
446   - #'kadmin',
447 438 'taggit',
448   - #'flagit',
449   - #'upload',
450 439 'wiki',
451   - #'kbforums',
452 440 'dashboards',
453 441 'kpi',
454 442 'gallery',
455   - #'customercare',
456   - #'twitter',
457   - #'chat',
458   - #'inproduct',
459 443
460 444 # migrations
461 445 'south',
@@ -659,12 +643,8 @@ def JINJA_CONFIG():
659 643 'common': (
660 644 'js/libs/jquery.min.js',
661 645 'js/libs/modernizr-1.6.min.js',
662   - #'js/kbox.js',
663   - #'global/menu.js',
664   - #'js/main.js',
665 646 ),
666 647 'libs/jqueryui': (
667   - #'js/libs/jqueryui.min.js',
668 648 'js/libs/jquery-ui-1.8.14.custom.min.js',
669 649 ),
670 650 'libs/tagit': (
@@ -729,6 +709,7 @@ def JINJA_CONFIG():
729 709 #
730 710 # Session cookies
731 711 SESSION_COOKIE_SECURE = True
  712 +SESSION_COOKIE_HTTPONLY = True
732 713 SESSION_EXPIRE_AT_BROWSER_CLOSE = True
733 714
734 715 # Cookie prefix from PHPBB settings.

0 comments on commit 85212d9

Please sign in to comment.
Something went wrong with that request. Please try again.