Skip to main content

Helpers for using django-jinja

Project description

Helpers for using django-jinja (https://github.com/niwinz/django-jinja) with

  • django-crisp-forms
  • django-webpack-loader

Installation

To get the latest stable release from PyPi

pip install django_jinja_helpers

Install the app

INSTALLED_APPS = (
    ...,
    'django_jinja_helpers',
)

Usage

Call render_bundle() in your template

<!DOCTYPE html>
<html>
  <head>
    {{ render_bundle('styles', 'css') }}
  </head>

  <body>
  </body>
</html>

Call crispy() in your template

<div class="container">
  {{ crispy(form) }}
</div>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_jinja_helpers-0.1.4.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page