Django

Code

Changeset 8026

Show
Ignore:
Timestamp:
07/21/08 12:10:27 (5 months ago)
Author:
jacob
Message:

Modified the comments in the skeleton urls.py to be more clear about how to enable the admin. Refs #7824.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/conf/project_template/urls.py

    r8009 r8026  
    11from django.conf.urls.defaults import * 
    22 
    3 # Uncomment this for admin: 
     3# Uncomment the next two lines to enable the admin: 
    44# from django.contrib import admin 
    5  
    6 # Uncomment to load INSTALLED_APPS admin.py module for default AdminSite instance. 
    75# admin.autodiscover() 
    86 
     
    119    # (r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')), 
    1210 
    13     # Uncomment this for admin docs
     11    # Uncomment the next line to enable admin documentation
    1412    # (r'^admin/doc/', include('django.contrib.admindocs.urls')), 
    1513 
    16     # Uncomment this for admin: 
     14    # Uncomment the next line for to enable the admin: 
    1715    # (r'^admin/(.*)', admin.site.root), 
    1816)