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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_jinja_helpers-0.2.0.tar.gz
Algorithm Hash digest
SHA256 58727d6a8778dd7fd9ef90932fef757eff7af4f507847cb137d1f19c8ee8d87c
MD5 d95541f8eb9ea4692790afd37eb0b097
BLAKE2b-256 e94485bfd9080be889fdedd3307e452ad13c43e8e202f6c57a0cb7449a1a3e34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_jinja_helpers-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf026dc33391c890c795a219a7687c2e70967714f7906924cb91cdd4cc5b4531
MD5 a8b8ee8c420950e290bcea43c44ed947
BLAKE2b-256 460efce2bea9bf2eed048c59f7e196a908640261c216286a612243b93182b113

See more details on using hashes here.

Supported by

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