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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_jinja_helpers-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 98c23a9695547aeae16d73df58c98664700db99989f2c0ad0b91e0764c1c102b
MD5 3177a84d8859ca5e0e216150deb3511f
BLAKE2b-256 8a138faca7f58912c52924bbeac0cc7bf2d9a9b95d996b37aaaee7bd911d5f80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_jinja_helpers-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8ecefa749cb4116af04165e026c0c51ca93a895babd8b445a0b8f88f3e2bdfea
MD5 e660066c17cb561a06822d313cffc243
BLAKE2b-256 93d8aa1b51007a995afaa9a88a576590cdcf759195afbf09ee8ab4ebd7250915

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