Skip to main content

Helpers for using django-jinja

Project description

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

  • django-crispy-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.2.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

django_jinja_helpers-0.2.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file django_jinja_helpers-0.2.2.tar.gz.

File metadata

  • Download URL: django_jinja_helpers-0.2.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.18 Darwin/22.6.0

File hashes

Hashes for django_jinja_helpers-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bd47a65305e9fe2cc01c75eb19b964a1ea58f1a8441c4bd35967632083664ba4
MD5 69607f7c6b1ff93d87f53b3ab8e94372
BLAKE2b-256 c6210905eab0cb07da6aac79b646cdf8db3f3420499e0603d621978ed0e04d8e

See more details on using hashes here.

File details

Details for the file django_jinja_helpers-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_jinja_helpers-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42de2bfc36627b2db955c3823d87c27bcf65ffa5bb7a59855a72dc4d494f9033
MD5 f52224dd62b7301e0f315ace105862dc
BLAKE2b-256 7e17690c52dac1a05b0929585e08f490b2ccd4b96a0aa5713809c064bebe8f6e

See more details on using hashes here.

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