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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_jinja_helpers-0.1.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page