Contrib modules

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.

django-pipeline

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>

Table Of Contents

Previous topic

Differences

This Page

Fork me on GitHub