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.1.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for django_leaf-2.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce6bc565bc0b290eb37c15db7a5bc7f336016977fc9c5a566ef83b110c5e8d8f |
|
MD5 | 95461f77bc135b8eba927f9ab12c1aca |
|
BLAKE2b-256 | 01cb0a06da8d71f1de8176da56dad3e98e7fe00aacbc457040da33ad1377ab87 |