Multisite

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

Usage

Category # Using This
Site

PyPI

Version License Released Status Python 3?
2015.7.0 BSD 07/14/2015 Production/Stable

Participants

Documentation

Repo Activity

Last fetched: 32 minutes ago Fetch latest data

Repo Hosting: Github

Repo URL Commits
https://github.com/leonardo-modules/leonardo-multisite n/a n/a

Sites using this package

No sites using this package have been listed yet.