You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
Expected behavior
The
collectstatic
command should complete successfully, collecting all static files into the directory specified bySTATIC_ROOT
Screenshots
![Screenshot from 2024-06-24 09-57-52](https://private-user-images.githubusercontent.com/61820565/342233046-1a735789-f6d3-4761-9ba6-cb113c1c0fde.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NTA3NzksIm5iZiI6MTcyNDU1MDQ3OSwicGF0aCI6Ii82MTgyMDU2NS8zNDIyMzMwNDYtMWE3MzU3ODktZjZkMy00NzYxLTliYTYtY2IxMTNjMWMwZmRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDAxNDc1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmYmQyNjYzODc1YjcyMWY4MmJkOWVkYTc3Mjg3NGFhODI2Y2QwNjZlZjU5MTQxYjYyZGM4Nzk3MWI1Y2YwNzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.v2wkSv_bIWyxLTVfIgK3Ns_BBCI0-eFe0QJeEuSZvY8)
The text was updated successfully, but these errors were encountered: