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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0b3cd4419ca7c7376162bed762bda1d022bab1256a7df237d2d7ca560fbbb48 |
|
MD5 | b59e427b742c149d58511aa70a543e03 |
|
BLAKE2b-256 | d9b9bb9b01ac364ee6ad2354d4ad7e7a7408dc5ed9d8cc46f019528913ab8abd |
Close
Hashes for django_jinja_helpers-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 439bfa9b20e197223280120706893f7ea9728f4cba621fbd86884e6dffc04d9c |
|
MD5 | ea84442a35919dba21070e718760247b |
|
BLAKE2b-256 | 7d2d3161ff458293bfde9c9143ce678e55d8e0b9be3b3ece8ee695de37ce55ff |