Blame view

urls_main.py 258 Bytes
Bartłomiej Nitoń authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#-*- coding:utf-8 -*-

from django.conf.urls.defaults 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')),
)