﻿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
20954	Tutorial Doco Error	n2cheval@…	nobody	"On the page ""https://docs.djangoproject.com/en/1.5/intro/tutorial03/""
at the section ""Write your first view""

It says to update the same file ""polls/urls.py"" twice, but with completely different code, even through it says to only add the ""include"".

First
from django.conf.urls import patterns, url

from polls import views

urlpatterns = patterns('',
    url(r'^$', views.index, name='index')
)

Second
from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^polls/', include('polls.urls')),
    url(r'^admin/', include(admin.site.urls)),
)

The ""final"" second version errors."	Bug	closed	Documentation	1.5	Normal	fixed			Unreviewed	0	0	0	0	1	0
