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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f8bd294d48a15ec82db9cf796290cf3536e23e50b8e5c51f80846e8f50e5c3c |
|
MD5 | 66a2957a045fcb5dc82c5a7afb481c3a |
|
BLAKE2b-256 | 5c9a2cd43c898c4238c036467fcd6651f90ea786e0876ab14cf27687d9961869 |
Close
Hashes for django_jinja_helpers-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f324c8e177142fddee39b884ce00625fb08651911915421389e5bb21ab80e8b5 |
|
MD5 | e698e32aa0e6200b5db9944dfcd7d45c |
|
BLAKE2b-256 | ff7a7369a20db22440a3881222c526936c210a27aef4a21a18f9c7b4b1696bb4 |