Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

django-multisite supporto for django CMS

Project Description

django-multisite support for django CMS

Supported Django versions:

  • Django 1.6
  • Django 1.7
  • Django 1.8
  • Django 1.9

Supported django CMS versions:

  • django CMS 3.*


  1. Configure django-multisite as documented upstream

  2. Use SITE_ID = SiteId(default=1) instead of the documented SITE_ID = SiteID()

  3. Add multisite, djangocms_multisite to INSTALLED_APPS:

  4. Add multisite.middleware.DynamicSiteMiddleware and djangocms_multisite.middleware.CMSMultiSiteMiddleware to MIDDLEWARE_CLASSES; multisite.middleware.DynamicSiteMiddleware must be applied before cms.middleware.utils.ApphookReloadMiddleware, while djangocms_multisite.middleware.CMSMultiSiteMiddleware must right after that:

  5. Configure the URL mapping as follows:

        '': 'tests.test_utils.urls1',
        '': 'tests.test_utils.urls2',
        '': ('', '',),
        '': ('', '',),
  6. Run python migrate



Dictionary (or OrderedDict) containing the mapping between the domain (as configured in django sites) and the corresponding urlconf.


The default domain to load if any of the above does not match.


Dictionary (or OrderedDict) containing the mapping between the domain (as configured in django sites) and a list of aliases. This is optional if all the aliases are configured as django-multisite aliases


0.1.1 (2016-11-07)
  • Improved host selection
0.1.0 (unreleased)
  • First experimental release
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
djangocms_multisite-0.1.1-py2.py3-none-any.whl (6.7 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jul 11, 2016
djangocms-multisite-0.1.1.tar.gz (6.1 kB) Copy SHA256 Checksum SHA256 Source Jul 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting