Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

STATICFILES_DIRS isn't searched #7

Open
thijstriemstra opened this issue Aug 19, 2013 · 1 comment
Open

STATICFILES_DIRS isn't searched #7

thijstriemstra opened this issue Aug 19, 2013 · 1 comment

Comments

@thijstriemstra
Copy link

I'm evaluating this project and the following came up: my Django project consists of multiple apps but there is a single static files directory for the whole project. Currently jack-bower always expects the static files to be part of one or more apps. I think it should also search the directories defined in Django's STATICFILES_DIRS setting which it doesn't seem to do at the moment.

STATICFILES_DIRS = (
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)

@kitsunde
Copy link
Owner

All the dependency resolution is done by bower itself based on the config files we drop in the apps, so it wouldn't iterate over your STATICFILES_DIRS before deciding to install.

However I've been planning on adding support for project level dependencies as well (there's a fork that does that, but they removed app level dependencies). I'll sort it out this week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants