Render and serve django templates based on URL.
django-leaf renders both “static” and database-backed templates based on the URL path.
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:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django-leaf-2.2.0.tar.gz (9.1 kB)||File type Source||Python version None||Upload date||Hashes View|