urls_main.py 226 Bytes
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')),
)