priyankavergadia / Django-Dialogflow-Appointment-Scheduler

Build a Dialogflow chatbot frontend using Django framework and deploy it on App Engine.
Apache License 2.0
35 stars 37 forks source link

django Configuration Error SECRET_KEY #8

Open ilkan opened 3 years ago

ilkan commented 3 years ago

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

responsivecodex commented 3 years ago

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

1) En la línea de comandos usa:

..> SET SECRET_KEY=''

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

SECRET_KEY= ''

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