Advertisement
Guest User

bino:django-tenant-schema:urls.py

a guest
Mar 1st, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.67 KB | None | 0 0
  1. from django.conf.urls import patterns, include, url
  2.  
  3. # Uncomment the next two lines to enable the admin:
  4. from django.contrib import admin
  5. admin.autodiscover()
  6.  
  7. urlpatterns = patterns('',
  8.     url(r'^main/$', 'bino.int'),
  9.     url(r'^', include('mts1.cl1.bino.int')),
  10.     url(r'^', include('mts1.cl2.bino.int')),
  11.  
  12.     # Examples:
  13.     # url(r'^$', 'mts1.views.home', name='home'),
  14.     # url(r'^mts1/', include('mts1.foo.urls')),
  15.  
  16.     # Uncomment the admin/doc line below to enable admin documentation:
  17.     # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
  18.  
  19.     # Uncomment the next line to enable the admin:
  20.     url(r'^admin/', include(admin.site.urls)),
  21. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement