SECRET_KEY in config

This commit is contained in:
Cayo Puigdefabregas 2021-12-28 11:13:30 +01:00
parent 338afcc556
commit 1feb287ca0
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
import os
from distutils.version import StrictVersion
from itertools import chain
from typing import Set
@ -77,3 +78,4 @@ class DevicehubConfig(Config):
"""Definition of path where save the documents of customers"""
PATH_DOCUMENTS_STORAGE = config('PATH_DOCUMENTS_STORAGE', '/tmp/')
JWT_PASS = config('JWT_PASS', '')
SECRET_KEY = os.urandom(32)