Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie Cutter #142

Open
jmhorn opened this issue Feb 19, 2019 · 0 comments
Open

Cookie Cutter #142

jmhorn opened this issue Feb 19, 2019 · 0 comments

Comments

@jmhorn
Copy link

jmhorn commented Feb 19, 2019

Location within the Book

  • Chapter or Appendix: 5
  • Section: 4
  • Subsection: settings/local.py

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant