Author: jacob
Date: 2008-07-21 12:10:27 -0500 (Mon, 21 Jul 2008)
New Revision: 8026
Modified:
django/trunk/django/conf/project_template/urls.py
Log:
Modified the comments in the skeleton urls.py to be more clear about how to
enable the admin. Refs #7824.
Modified: django/trunk/django/conf/project_template/urls.py
===================================================================
--- django/trunk/django/conf/project_template/urls.py 2008-07-21 17:04:59 UTC
(rev 8025)
+++ django/trunk/django/conf/project_template/urls.py 2008-07-21 17:10:27 UTC
(rev 8026)
@@ -1,18 +1,16 @@
from django.conf.urls.defaults import *
-# Uncomment this for admin:
+# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
-
-# Uncomment to load INSTALLED_APPS admin.py module for default AdminSite
instance.
# admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')),
- # Uncomment this for admin docs:
+ # Uncomment the next line to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
- # Uncomment this for admin:
+ # Uncomment the next line for to enable the admin:
# (r'^admin/(.*)', admin.site.root),
)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---