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'^$', 'mysite.views.home', name='home'),
|
---|
10 | # url(r'^mysite/', include('mysite.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'^polls/', include('polls.urls',namespace="polls")),
|
---|
17 | url(r'^admin/', include(admin.site.urls)),
|
---|
18 |
|
---|
19 | )
|
---|