collectstatic management command looks in current working dir instead of project root
|Reported by:||danielnaab||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Works as intended. However, if I script this call from a different working directory, collectstatic adds the working directory to the search path. This doesn't just copy more than is required, but I believe is creating an infinite copy loop, as it eventually starts iterating over the target
static directory as well.
cd ~/src/my_proj/manage.py collectstatic
cd src/my_project/manage.py collectstatic
both will copy every static folder under my home directory.