Skip to main content

Host multiple sites from a single django project

Project description

Expands the standard django.contrib.sites package to allow for:

Sites identified dynamically from the request via middleware No need for multiple virtual hosts at the webserver level 301 Redirects to canonical hostnames A site may have its own urls.py and templates A single site may accept requests from multiple hostnames Allows for environment hostname mappings to use non-production hostnames (for use in dev, staging, test, etc. environments)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-dynamicsites-lite-0.1.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file django-dynamicsites-lite-0.1.tar.gz.

File metadata

File hashes

Hashes for django-dynamicsites-lite-0.1.tar.gz
Algorithm Hash digest
SHA256 d335893d7868ebe50da532d8c2c7df36e4edaefbbf407d9b07ebeccd7f7eac25
MD5 d3a3f329951fd74255c9f1366702c6ad
BLAKE2b-256 aae1a2e89169f364e4eca323d373a0352f194fdc7f9a8eda844bb51103944ff3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page