Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#20858 closed Bug (fixed)

Tutorial 2 in the Django documentation has an invalid import

Reported by: AtomicSpark Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
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 AtomicSpark 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by AtomicSpark

comment:1 Changed 2 years ago by Tim Graham <timograham@…>

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

In b278f7478d37d3620e5addf7cc2070bc38c10871:

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

Thanks AtomicSpark.

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

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