Code

Ticket #14961: urls.py

File urls.py, 490 bytes (added by Harriv, 3 years ago)
Line 
1from django.conf.urls.defaults import *
2
3# Uncomment the next two lines to enable the admin:
4from django.contrib import admin
5admin.autodiscover()
6
7urlpatterns = patterns('',
8    # Example:
9    # (r'^mysite/', include('mysite.foo.urls')),
10
11    # Uncomment the admin/doc line below to enable admin documentation:
12    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
13
14    # Uncomment the next line to enable the admin:
15    (r'^admin/', include(admin.site.urls)),
16)