Add pickle serializer to settings sample

This commit is contained in:
Jan Tuomi
2017-09-24 12:42:16 +03:00
parent e5ca83a794
commit 1c4be69964
+2
View File
@@ -27,6 +27,8 @@ IS_DOCKER = bool(os.getenv('IS_DOCKER', None))
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '7p$85^4ibb^p4-=vs44b7!y0e-zemugze18@a#30&71=a8)dp('
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True