Skip to content

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

@snipher-marube

Description

@snipher-marube

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

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