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

The SECRET_KEY setting must not be empty #7

Open
surfer190 opened this issue Oct 21, 2015 · 2 comments
Open

The SECRET_KEY setting must not be empty #7

surfer190 opened this issue Oct 21, 2015 · 2 comments

Comments

@surfer190
Copy link

When opening scrapy shell or running crawl I get an error requesting the SECRET_KEY from django

raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
@surfer190
Copy link
Author

Adding to settings:

SECRET_KEY = 'some-random-key'

fixes it but is it necessary?

@cdvv7788
Copy link

cdvv7788 commented Nov 3, 2015

https://docs.djangoproject.com/en/1.8/ref/settings/#secret-key
In short, it is. The issue is related to django tho, not to scrapy.

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

2 participants