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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd47a65305e9fe2cc01c75eb19b964a1ea58f1a8441c4bd35967632083664ba4 |
|
MD5 | 69607f7c6b1ff93d87f53b3ab8e94372 |
|
BLAKE2b-256 | c6210905eab0cb07da6aac79b646cdf8db3f3420499e0603d621978ed0e04d8e |
File details
Details for the file django_jinja_helpers-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: django_jinja_helpers-0.2.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.18 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42de2bfc36627b2db955c3823d87c27bcf65ffa5bb7a59855a72dc4d494f9033 |
|
MD5 | f52224dd62b7301e0f315ace105862dc |
|
BLAKE2b-256 | 7e17690c52dac1a05b0929585e08f490b2ccd4b96a0aa5713809c064bebe8f6e |