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

Read More

Project details


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

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page