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
Metadata
Release files for leonardo-multisite 2016.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| leonardo-multisite-2016.1.0.tar.gz | 4.0 kB | Without provenance | Details for leonardo-multisite-2016.1.0.tar.gz |
Release files / leonardo-multisite-2016.1.0.tar.gz
| Download URL | leonardo-multisite-2016.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09c59adf2b7559d899d3d735878680d8198fd444516d3dcd1461e772de71e3b2
|
|
BLAKE2b-256 checksum How to use checksums |
cc105900236a23bf0c8b8b757691409e391cccdc815e68f93af1a5bf863bba09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for leonardo-multisite 2016.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.