From e56215a74e0d9966a2a557ab7b4f9c00e315f8b8 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Wed, 30 Nov 2016 17:57:12 -0200 Subject: [PATCH] Muda o backend de mensagens de cookies para session --- sapl/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapl/settings.py b/sapl/settings.py index cfeefdd0f..3a2212de2 100644 --- a/sapl/settings.py +++ b/sapl/settings.py @@ -32,6 +32,8 @@ SECRET_KEY = config('SECRET_KEY', default='') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = config('DEBUG', default=False, cast=bool) +MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage' + ALLOWED_HOSTS = ['*'] LOGIN_REDIRECT_URL = '/'