Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.416 kb
from django_hosts import patterns, host
from django.conf import settings
# Definitions of subdomains. This routes requests using
# different root url configurations for each subdomain.
host_patterns = patterns('',
host(r'm', 'aaltoanalytics.apps.mobile.urls', name='mobile'),
host(r'dev', 'aaltoanalytics.apps.development.urls', name='development'),
host(r'www', settings.ROOT_URLCONF, name="normal")
)
Jump to Line
Something went wrong with that request. Please try again.