Django-Dialogflow-Appointment-Scheduler icon indicating copy to clipboard operation
Django-Dialogflow-Appointment-Scheduler copied to clipboard

django Configuration Error SECRET_KEY

Open ilkan opened this issue 4 years ago • 1 comments

I've tried both windows 10 and Mac Big Sur, I have an error after makemigrations command. When I tried to create an empty project, works perfectly.

Django-Dialogflow-Appointment-Scheduler\env\lib\site-packages\django\conf\__init__.py", line 126, in __init__ raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.") django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

Thank you

ilkan avatar Nov 09 '20 14:11 ilkan

Buscando en internet halle una solución: (Yo trabajo en Windows)

1) En la línea de comandos usa:

..> SET SECRET_KEY='<YOUR SECRET_KEY>'

2) y en el archivo settings.py declaré la variable:

SECRET_KEY= '<YOUR SECRET_KEY>'

Puedes revisar la solución en: https://github.com/mirumee/saleor/issues/517

responsivecodex avatar Apr 08 '21 15:04 responsivecodex