New issue
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
compress merge own test templates to production code #696
Comments
That's weird. More info is needed, what are your settings ? |
Here is key part of my settings.py
|
did you find the cause in the meantime? if not, could you provide the full settings.py? i can't reproduce this even when copying all the parts you posted. |
not enough information, closing. |
Hi. I've been looking into this again and have been able to trace the issue to our misconfiguration of django's template finder; so if anyone has similar issue, here's the solution The issues was really that compress tried to process templates which it weren't supposed to and so here is the config that was causing the problems (mind the TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [BASE_DIR, 'templates'],
'APP_DIRS': True,
} Cheers! |
Hi, I have a problem. Compress command fails with:
When I add
js/one.js
to assets, it works properly.Thanks, Ondrej
The text was updated successfully, but these errors were encountered: