0
respostas

Erro no Secret KEY

Bom dia.

Ao fazer o deploy, dá este erro, alguém já solucionou ele?

SECRET_KEY = config('SECRET_KEY') File "/usr/local/lib/python3.6/site-packages/decouple.py", line 197, in call return self.config(args, **kwargs) File "/usr/local/lib/python3.6/site-packages/decouple.py", line 85, in call return self.get(args, **kwargs) File "/usr/local/lib/python3.6/site-packages/decouple.py", line 70, in get raise UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option)) decouple.UndefinedValueError: SECRET_KEY not found. Declare it as envvar or define a default value. Build step 'Execute shell' marked build as failure Finished: FAILURE