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

STATIC_ROOT setting missing in development.py causes collectstatic command to fail #55

Open
snipher-marube opened this issue Jun 24, 2024 · 0 comments

Comments

@snipher-marube
Copy link
Contributor

Description
When attempting to run the collectstatic command with the --clear option, it fails with a traceback indicating that the STATIC_ROOT setting is not configured. This prevents static files from being collected properly.

To Reproduce
Steps to reproduce the behavior:

  1. Run the following command:
python manage.py collectstatic --clear
  1. Observe the error message indicating that STATIC_ROOT is not set.

Expected behavior
The collectstatic command should complete successfully, collecting all static files into the directory specified by STATIC_ROOT

Screenshots
Screenshot from 2024-06-24 09-57-52

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