Change django message storage backends default.
Due to original cookie storage backends have limit 2048 bytes, change it to fallbackstorage, which could store extra message in session storage. Related django storage illustration https://docs.djangoproject.com/en/1.6/ref/contrib/messages/#module-django.contrib.messages Closes-Bug: #1168541 Change-Id: Ieed4db962ccdadcb346c8ca7e6e789766f9838e5
This commit is contained in:
parent
440ea19f6f
commit
d68e68c5bd
@ -229,7 +229,7 @@ INSTALLED_APPS = [
|
||||
|
||||
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
|
||||
AUTHENTICATION_BACKENDS = ('openstack_auth.backend.KeystoneBackend',)
|
||||
MESSAGE_STORAGE = 'django.contrib.messages.storage.cookie.CookieStorage'
|
||||
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
|
||||
|
||||
SESSION_ENGINE = 'django.contrib.sessions.backends.signed_cookies'
|
||||
SESSION_COOKIE_HTTPONLY = True
|
||||
|
Loading…
Reference in New Issue
Block a user