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
File details
Details for the file leonardo-multisite-2016.1.0.tar.gz
.
File metadata
- Download URL: leonardo-multisite-2016.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09c59adf2b7559d899d3d735878680d8198fd444516d3dcd1461e772de71e3b2 |
|
MD5 | 6f3151a20b7a13bce9d0daa37c7ffc2d |
|
BLAKE2b-256 | cc105900236a23bf0c8b8b757691409e391cccdc815e68f93af1a5bf863bba09 |