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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for leonardo-multisite-2016.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c59adf2b7559d899d3d735878680d8198fd444516d3dcd1461e772de71e3b2 |
|
MD5 | 6f3151a20b7a13bce9d0daa37c7ffc2d |
|
BLAKE2b-256 | cc105900236a23bf0c8b8b757691409e391cccdc815e68f93af1a5bf863bba09 |