Render and serve django templates based on URL.
Project description
django-leaf renders both “static” and database-backed templates based on the URL path.
Quick Start
Install the package from pypi:
pip install django-leaf
Add “leaf” and “mptt” to your INSTALLED_APPS:
INSTALLED_APPS = ( ... 'leaf', 'mptt', )
Add leaf urls to the end of your urlpatterns:
url(r'^', include('leaf.urls')),
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
django-leaf-2.1.2.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for django_leaf-2.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ca511874fcd9ee7ed2e1ad5c3ce774e9fc9bc6a48e830b90921b24ee751a847 |
|
MD5 | ade48b21767c397820fd3e771a18a381 |
|
BLAKE2b-256 | 207ee50ee8a181c8cc2067a6972e996af6e254c8284fdfd33b0b37322cfdfad7 |