Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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')),
    

Project details


Download files

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

Files for django-leaf, version 2.2.0
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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page