diff --git a/django/conf/project_template/urls.py b/django/conf/project_template/urls.py index e77dd86e16..0ce1ffb98d 100644 --- a/django/conf/project_template/urls.py +++ b/django/conf/project_template/urls.py @@ -1,16 +1,17 @@ -from django.conf.urls.defaults import patterns, include +from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', - # Example: - # (r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')), + # Examples: + # url(r'^$', '{{ project_name }}.views.home', name='home'), + # url(r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')), # Uncomment the admin/doc line below to enable admin documentation: - # (r'^admin/doc/', include('django.contrib.admindocs.urls')), + # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: - # (r'^admin/', include(admin.site.urls)), + # url(r'^admin/', include(admin.site.urls)), )