Skip to content

The SECRET_KEY setting must not be empty. #77

Description

@GabeSoler

Sorry, I keep dropping bugs. This has come up two times. The first stop was for a while, so I thought I may have done something wrong. It gets fixed by adding the key to the initialize(), but I do not know why it is not picking up the key from the .env file.

This is a project I started today, so I guess it is all coming from the last version. Also, use 'uv run' to run the commands.

File "/Users/gsole/Documents/Web-Work/portfolio/.venv/lib/python3.12/site-packages/django/conf/init.py", line 90, in getattr
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions