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.2.0.tar.gz
(9.1 kB
view details)
File details
Details for the file django-leaf-2.2.0.tar.gz
.
File metadata
- Download URL: django-leaf-2.2.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df7405da605890b5ce026e1044988b35c779bfafc4974b5c8f392c8d701533b5 |
|
MD5 | 46512579da1d64cd39ed92953adf165e |
|
BLAKE2b-256 | e21ddeb548408d284fd43d8040ab97cae00d44612323deecbcad29d7059fd496 |