Skip to main content

Full support for multisite in Leonardo CMS

Project description

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()

Project details


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
leonardo-multisite-2016.1.0.tar.gz (4.0 kB) Copy SHA256 hash SHA256 Source None Jan 2, 2016

Supported by

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