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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd5596637b90f30c8aea1217140a103cb9767de1e03cf9cec0c808e52136c9f2 |
|
MD5 | 29997f419f6dbae48b2f59f616852960 |
|
BLAKE2b-256 | caef3e0905d77ea5b647e96d7e9cc28eb10d78b0cd30ebd69c875fbf26e3d374 |
Close
Hashes for django_jinja_helpers-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3de3398f927ad80b857e93e8063b8807faddfc476f4c8b5475b9330c8a2e91fc |
|
MD5 | c3a822b708ca0ac74a3b85ff8e490d1a |
|
BLAKE2b-256 | f7efcb1c79329f84a36770268c28f562e8fe3ab0c481b193432816e5010d3009 |