Skip to main content
Help us improve Python packaging – donate today!

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

  1. Install the package from pypi:

    pip install django-leaf
    
  2. Add “leaf” and “mptt” to your INSTALLED_APPS:

    INSTALLED_APPS = (
        ...
        'leaf',
        'mptt',
    )
    
  3. Add leaf urls to the end of your urlpatterns:

    url(r'^', include('leaf.urls')),
    

Release history Release notifications

This version
History Node

2.2.0

History Node

2.1.2

History Node

2.1.1

History Node

2.1.0

History Node

2.0.0

History Node

1.1.0

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-leaf-2.2.0.tar.gz (9.1 kB) Copy SHA256 hash SHA256 Source None Feb 21, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page