urls_main.py 226 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 from django.conf.urls import * from django.conf import settings if settings.SITE_PREFIX: prefix = r'^%s/' % settings.SITE_PREFIX.lstrip('/') else: prefix = r'^' urlpatterns = patterns('', (prefix, include('urls')), )