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
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4f1f91146cfc51627e0d628537d09fa216fdb5835f7dff4def6c685317bd831 |
|
MD5 | 634af325d0362ed9e355f0cdc3947338 |
|
BLAKE2b-256 | adb9a9c60f41a15f6333a87f5312248b58bfafd28951f50206b2ffa31acc736a |
Close
Hashes for django_jinja_helpers-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c867219f925ba16e549b239a97250268a2ab3c0a2088b48cc36be56b24fd31 |
|
MD5 | f26d24368c6b1f1a77c2ac37673089d6 |
|
BLAKE2b-256 | 478cb289906c5982ce477383a044c4087241a02840216a8a13f7e721970a2087 |