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
Built Distribution
Close
Hashes for django_jinja_helpers-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13f144434a8f336fd28561133bcc82e0ce76821488623e27a4bde5ba4115d199 |
|
MD5 | cc271d23e2a3a633f47e196b2d48c658 |
|
BLAKE2b-256 | 32f323990ec2984b2f116bafadbdfcedb6ba7e3ec53d52ce979a5113a907029e |
Close
Hashes for django_jinja_helpers-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac09fd7df3f2515b0964ee11f32442fd778369bbddbb7eb2733771af9556ba22 |
|
MD5 | e0ed1b34a43f91fb6099edf62797dcc3 |
|
BLAKE2b-256 | d8eb25cce071d9b937c45cfb3d582d2859eaf2cba90f195a6dc3ee2a18a77122 |