You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Instructions to use cookie cutter and then replace the settings/local.py config fails when using the literal code in Example 5.4. The warning that comes up is "django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty."
The instructions in the book cannot be followed explicitly. Also to get python manage.py runserver --settings=config.settings.local
working one also needs to edit two os.environ fields in manage.py and in local.py as seen in stackoverflow answer by Jinesh.
Location within the Book
Description
The Instructions to use cookie cutter and then replace the settings/local.py config fails when using the literal code in Example 5.4. The warning that comes up is "django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty."
The instructions in the book cannot be followed explicitly. Also to get
python manage.py runserver --settings=config.settings.local
working one also needs to edit two os.environ fields in manage.py and in local.py as seen in stackoverflow answer by Jinesh.
https://stackoverflow.com/questions/19128540/django-improperlyconfigured-the-secret-key-setting-must-not-be-empty
The text was updated successfully, but these errors were encountered: