skip to navigation
skip to content

leonardo-multisite 2016.1.0

Full support for multisite in Leonardo CMS

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()
 
File Type Py Version Uploaded on Size
leonardo-multisite-2016.1.0.tar.gz (md5) Source 2016-01-02 3KB