Source

django-bootstrap-template / template / project_name / urls.py

1
2
3
4
5
6
7
8
9
from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^/', include('{{ project_name }}.apps.site.urls'), namespace='site'),
    url(r'^admin/', include(admin.site.urls)),
)