urls.py
changeset 1 7818992cbf83
parent 0 a87d642f1ba5
child 9 3ad980fc23ca
equal deleted inserted replaced
0:a87d642f1ba5 1:7818992cbf83
     1 from django.conf.urls.defaults import *
     1 from django.conf.urls.defaults import *
     2 
     2 
     3 # Uncomment the next two lines to enable the admin:
     3 # Uncomment the next two lines to enable the admin:
     4 # from django.contrib import admin
     4 from django.contrib import admin
     5 # admin.autodiscover()
     5 admin.autodiscover()
     6 
     6 
     7 urlpatterns = patterns('',
     7 urlpatterns = patterns('',
     8     # Example:
     8     # Example:
     9     # (r'^pytask/', include('pytask.foo.urls')),
     9     # (r'^pytask/', include('pytask.foo.urls')),
    10 
    10 
    11     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    11     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    12     # to INSTALLED_APPS to enable admin documentation:
    12     # to INSTALLED_APPS to enable admin documentation:
    13     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    13     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    14 
    14 
    15     # Uncomment the next line to enable the admin:
    15     # Uncomment the next line to enable the admin:
    16     # (r'^admin/', include(admin.site.urls)),
    16     (r'^admin/', include(admin.site.urls)),
    17 )
    17 )