privateping
privateping copied to clipboard
`STATIC_ROOT` setting missing in development.py causes collectstatic command to fail
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:
- Run the following command:
python manage.py collectstatic --clear
- 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