Skip to content


Subversion checkout URL

You can clone with
Download ZIP
app to provide subdomain functionality in django project
CSS Python
branch: master

This branch is 17 commits ahead of ashok-raavi:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
project Added Travis file
subdomains modified the main subdomains app
.travis.yml modified travis file
LICENSE Update LICENSE packaging Added build passed image to readme fixes #2 #3 added example project and setup packaging

Build Status


  1. Include 'subdomains' in installed apps.

  2. Middlewares a. subdomains.middleware.GetSubdomainMiddleware b. subdomains.middleware.ThreadLocals c. subdomains.middleware.RedirectOnInvalidSubdomain

  3. include subdomains urls in

    url(r'^', include('subdomains.urls')),

  4. create the subdomain table python syncdb

*. matched subdomain/domain object is available via thread locals, from subdomains.middleware import get_current_subdomain subdomain_obj = get_current_subdomain()

Something went wrong with that request. Please try again.