Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Adding change of SECRET_KEY in README to be able to run project locally #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jaswdr
Copy link

@jaswdr jaswdr commented Jun 24, 2021

When I tried to run the project locally, I have received this error:

...
    if settings.USE_I18N:
  File "/home/jaswdr/.local/share/virtualenvs/censo-querido-diario--OuRbTDe/lib/python3.8/site-packages/django/conf/__init__.py", line 83, in __getattr__
    self._setup(name)
  File "/home/jaswdr/.local/share/virtualenvs/censo-querido-diario--OuRbTDe/lib/python3.8/site-packages/django/conf/__init__.py", line 70, in _setup
    self._wrapped = Settings(settings_module)
  File "/home/jaswdr/.local/share/virtualenvs/censo-querido-diario--OuRbTDe/lib/python3.8/site-packages/django/conf/__init__.py", line 196, in __init__
    raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

This happens because the SECRET_KEY has an empty string value in the censo/settings.py, I'm adding a section in the README mentioning this in this PR.

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

Successfully merging this pull request may close these issues.

1 participant