Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#11102 closed (fixed)

error in tutorial "Writing your first django app" for

Reported by: robmccart Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords: tutorial,
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Django version - 1.0.2 final
Part #2 and #3 of the tutorial show the following line to be uncommented:

(r'^admin/', include(,

This causes a Attribute Error: "Admin Site" object has no aattribute 'urls'.

The file that is shipped with this version has this line which does not cause the error:


Change History (4)

comment:1 Changed 7 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

That's because you are following the wrong tutorial from the web site.

Look at the big "This document is for Django's SVN release, which can be significantly different from previous releases. Get old docs here: Django 1.0" txt at the top of the page and follow the link that will take you to

The documentation included with your copy of Django also is the right one.

comment:2 Changed 7 years ago by Alex

  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:3 follow-up: Changed 7 years ago by jacob

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [10766]) [1.0.X] Fixed #11102: corrected a 1.1-ism in the tutorial.

comment:4 in reply to: ↑ 3 Changed 7 years ago by kmtracey

Replying to jacob:

(In [10766]) [1.0.X] Fixed #11102: corrected a 1.1-ism in the tutorial.

Oops. Sorry about that. I merged without thinking.

Note: See TracTickets for help on using tickets.
Back to Top