Browse Source

Muda o backend de mensagens de cookies para session

pull/849/head
Edward Ribeiro 8 years ago
parent
commit
e56215a74e
  1. 2
      sapl/settings.py

2
sapl/settings.py

@ -32,6 +32,8 @@ SECRET_KEY = config('SECRET_KEY', default='')
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = config('DEBUG', default=False, cast=bool) DEBUG = config('DEBUG', default=False, cast=bool)
MESSAGE_STORAGE = 'django.contrib.messages.storage.session.SessionStorage'
ALLOWED_HOSTS = ['*'] ALLOWED_HOSTS = ['*']
LOGIN_REDIRECT_URL = '/' LOGIN_REDIRECT_URL = '/'

Loading…
Cancel
Save