﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11792	incorrect activation of the code for admin site in urls.py	anonymous	nobody	"I downloaded Django-1.1 and while going trough the tutorial, the code under the section ""Activate the admin site"" didn't work.
I found that the correct code was  
---------------------------------
from django.conf.urls.defaults import *
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^mysite/', include('mysite.foo.urls')),

    # Uncomment this for admin:
     (r'^admin/(.*)', admin.site.root),
)
----------------

which is different from the one exposed in the page as:
--------------
from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^mysite/', include('mysite.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
)
------------
"		closed	Documentation	1.1		invalid			Unreviewed	0	0	0	0	0	0
