Skip to content
This repository was archived by the owner on May 23, 2020. It is now read-only.
This repository was archived by the owner on May 23, 2020. It is now read-only.

Static file problem #2

@dengwen168

Description

@dengwen168

hi, i tried to run"python manage.py collectstatic",
i got the error

You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
so i set STATIC_ROOT=os.path.join(BASE_DIR, 'static')

i got the following error:

The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting

could you please tell me how to selve this problem?
thanks.

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