Skip to main content

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

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)

Uploaded Source

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

Hashes for django-leaf-2.2.0.tar.gz
Algorithm Hash digest
SHA256 df7405da605890b5ce026e1044988b35c779bfafc4974b5c8f392c8d701533b5
MD5 46512579da1d64cd39ed92953adf165e
BLAKE2b-256 e21ddeb548408d284fd43d8040ab97cae00d44612323deecbcad29d7059fd496

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.2.0 This release

1 file

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.0

1 file

1.1.0

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page