SECRET_KEY in config
This commit is contained in:
parent
338afcc556
commit
1feb287ca0
|
@ -1,3 +1,4 @@
|
||||||
|
import os
|
||||||
from distutils.version import StrictVersion
|
from distutils.version import StrictVersion
|
||||||
from itertools import chain
|
from itertools import chain
|
||||||
from typing import Set
|
from typing import Set
|
||||||
|
@ -77,3 +78,4 @@ class DevicehubConfig(Config):
|
||||||
"""Definition of path where save the documents of customers"""
|
"""Definition of path where save the documents of customers"""
|
||||||
PATH_DOCUMENTS_STORAGE = config('PATH_DOCUMENTS_STORAGE', '/tmp/')
|
PATH_DOCUMENTS_STORAGE = config('PATH_DOCUMENTS_STORAGE', '/tmp/')
|
||||||
JWT_PASS = config('JWT_PASS', '')
|
JWT_PASS = config('JWT_PASS', '')
|
||||||
|
SECRET_KEY = os.urandom(32)
|
||||||
|
|
Reference in a new issue