Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#20858 closed Bug (fixed)

Tutorial 2 in the Django documentation has an invalid import

Reported by: Scott Shields Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The third block of code in Tutorial 2's ​Customize the admin change list section has an invalid import. The previous version of the page (v1.5) left off imports entirely (which is the route that I took with the patch), but the offending line of code is the following:

from polls.models import Poll

My patch is based off of the master branch for Django.

Attachments (1)

patch.diff​ (541 bytes ) - added by Scott Shields 13 years ago.

Download all attachments as: .zip

Change History (3)

by Scott Shields, 13 years ago

Attachment: patch.diff​ added

comment:1 by Tim Graham <timograham@…>, 13 years ago

Resolution: → fixed
Status: new → closed

In b278f7478d37d3620e5addf7cc2070bc38c10871:

Fixed #20858 -- Removed erroneous import in tutorial 2.

Thanks AtomicSpark.

comment:2 by Tim Graham <timograham@…>, 13 years ago

In 01a96042740788aee1c371eb191113f2700d3ccc:

[1.6.x] Fixed #20858 -- Removed erroneous import in tutorial 2.

Thanks AtomicSpark.

Backport of b278f7478d from master

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