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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58727d6a8778dd7fd9ef90932fef757eff7af4f507847cb137d1f19c8ee8d87c |
|
MD5 | d95541f8eb9ea4692790afd37eb0b097 |
|
BLAKE2b-256 | e94485bfd9080be889fdedd3307e452ad13c43e8e202f6c57a0cb7449a1a3e34 |
Close
Hashes for django_jinja_helpers-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf026dc33391c890c795a219a7687c2e70967714f7906924cb91cdd4cc5b4531 |
|
MD5 | a8b8ee8c420950e290bcea43c44ed947 |
|
BLAKE2b-256 | 460efce2bea9bf2eed048c59f7e196a908640261c216286a612243b93182b113 |