Use django.template.loader.get_template() in compress management command #282

wants to merge 5 commits into


None yet

6 participants


Fixes #281.


This pull request passes (merged eef07d8 into 3723a67).


I'd appreciate if you'd squash those commits to one commit.


Also, can you please add some tests? Thanks !


FWIW, I renamed the title of this PR to help triage existing issues. @mattpatey , we'd still love to hear from you to help get this merged :-)


@mattpatey give access for your repo and I will write tests.


Code doens't work, cuz jinja2 don't understand absolute paths of templates. Always raises TemplateNotFound. I create issue, please, vote: pallets/jinja#160.


Hi everyone, sorry for the long hiatus. This is something I did specific to my needs and if what @midiotthimble mentioned about jinja not working with this then it's clearly not complete. In any case chances are that I won't have the time to write the tests or fix the alleged jinja issue. Apologies for the premature pull request.

@diox diox closed this Apr 19, 2014

Fixed in #524.

@diox diox reopened this May 25, 2014
@diox diox closed this May 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment