django-jinja comes with integration with other applications in django.
At the momento, has only one contrib app, but in near future can integrate with others.
Pipeline is an asset packaging library for Django (official description).
For activate this plugin add django_jinja.contrib.pipeline on your’s installed apps tuple:
INSTALLED_APPS += ('django_jinja.contrib.pipeline',)
Now, you can use compressed_css and compressed_js as global functions:
<!DOCTYPE html>
<html>
<head>
<title>Foo</title>
{{ compressed_css("main") }}
</head>
<body>
<!-- body -->
</body>
</html>