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
{{ message }}
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
Setting both django.core.files.storage.FileSystemStorage and STATIC_ROOT results in collectstatic ignoring the STATIC_ROOT var and using the project base.
I have no name!@9cf8c79be0f7:/project$ ./code/manage.py collectstatic
You have requested to collect static files at the destination
location as specified in your settings:
/project
This will overwrite existing files!
Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: n
CommandError: Collecting static files cancelled.
I have no name!@9cf8c79be0f7:/project$ ./code/manage.py shell
>>> from django.conf import settings
>>> settings.STATIC_ROOT
'static'
If STATICFILES_STORAGE is not set, it functions as intended.
The text was updated successfully, but these errors were encountered:
@theilgaard Interesting. I'd be happy to review a PR that fixes this, provided it includes a regression test. Unfortunately I won't have time to work on this myself any time soon, would you be willing to work on this?
Thanks for reporting this!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Setting both
django.core.files.storage.FileSystemStorage
andSTATIC_ROOT
results in collectstatic ignoring theSTATIC_ROOT
var and using the project base.If
STATICFILES_STORAGE
is not set, it functions as intended.The text was updated successfully, but these errors were encountered: