Skip to main content

Full support for multisite with security. Uses reuqest processing for filtering page and django-allowedsites for ALLOWED_HOSTS based on the domains in django.contrib.sites.

Installation

pip install leonardo-multisite

And enable it in the admin or add MULTI_SITE_ENABLED to your settings.

or as leonardo bundle

pip install django-leonardo[multisite]

For FeinCMS users

settings.py:

MULTI_SITE_ENABLED = True

MIDDLEWARES += ('leonardo_multisite.middleware.MultiSiteMiddleware',)

from allowedsites import CachedAllowedSites

ALLOWED_HOSTS = CachedAllowedSites()

Read More

Download files

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

Source Distribution

leonardo-multisite-2016.1.0.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file leonardo-multisite-2016.1.0.tar.gz.

File metadata

File hashes

Hashes for leonardo-multisite-2016.1.0.tar.gz
Algorithm Hash digest
SHA256 09c59adf2b7559d899d3d735878680d8198fd444516d3dcd1461e772de71e3b2
MD5 6f3151a20b7a13bce9d0daa37c7ffc2d
BLAKE2b-256 cc105900236a23bf0c8b8b757691409e391cccdc815e68f93af1a5bf863bba09

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2016.1.0 This release

1 file

2015.7.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page