Django-Dialogflow-Appointment-Scheduler
Django-Dialogflow-Appointment-Scheduler copied to clipboard
django Configuration Error SECRET_KEY
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
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