privateping icon indicating copy to clipboard operation
privateping copied to clipboard

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

Open snipher-marube opened this issue 8 months ago • 0 comments

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

snipher-marube avatar Jun 24 '24 06:06 snipher-marube