Tutorial 2 in the Django documentation has an invalid import
|Reported by:||AtomicSpark||Owned by:||nobody|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
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.