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 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.

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