root / env / lib / python2.7 / site-packages / django / conf / project_template / project_name / urls.py @ 1a305335
History | View | Annotate | Download (592 Bytes)
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 |
# Examples:
|
9 |
# url(r'^$', '{{ project_name }}.views.home', name='home'),
|
10 |
# url(r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')),
|
11 |
|
12 |
# Uncomment the admin/doc line below to enable admin documentation:
|
13 |
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
14 |
|
15 |
# Uncomment the next line to enable the admin:
|
16 |
# url(r'^admin/', include(admin.site.urls)),
|
17 |
) |