We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When loading a CSS file inlinecss appears to only look within the static directory within the web root, ie:
static
{% inlinecss "account/css/Email-Styles.css" %}
is only "seen" here:
/webroot/static/account/css/Email-Styles.css
or as an OS path:
/Library/Webserver/Documents/static/account/css/Email-Styles.css
However the static will find the files elsewhere, for example, in the static directories of loaded apps:
/Library/Webserver/Documents/mydemoapp/static/account/css/Email-Styles.css
and such files are served as a web request:
http://127.0.0.1:8080/static/account/css/Email-Styles.css
But inlinecss will not load files from the static directory of installed_apps.
The text was updated successfully, but these errors were encountered:
This pull requests fixes the bug: #53
Sorry, something went wrong.
Adding this line to settings file solved it for me:
INLINECSS_CSS_LOADER = 'django_inlinecss.css_loaders.StaticfilesFinderCSSLoader'
@toniengelhardt thanks, that solved my issue, but we shouldn't have to do that...
Also hi! Fancy seeing you here :-D
No branches or pull requests
When loading a CSS file inlinecss appears to only look within the
static
directory within the web root, ie:{% inlinecss "account/css/Email-Styles.css" %}
is only "seen" here:
/webroot/static/account/css/Email-Styles.css
or as an OS path:
/Library/Webserver/Documents/static/account/css/Email-Styles.css
However the
static
will find the files elsewhere, for example, in the static directories of loaded apps:/Library/Webserver/Documents/mydemoapp/static/account/css/Email-Styles.css
and such files are served as a web request:
http://127.0.0.1:8080/static/account/css/Email-Styles.css
But inlinecss will not load files from the
static
directory of installed_apps.The text was updated successfully, but these errors were encountered: