1
0
mirror of https://github.com/django/django.git synced 2025-03-28 02:00:45 +00:00

Fixed #18576 -- Added missing import in tutorial02

Thanks jaaruiz at yahoo.com for the report.
This commit is contained in:
Claude Paroz 2012-07-06 13:57:14 +02:00
parent 86eb606b88
commit 4c417cc9eb

View File

@ -284,7 +284,7 @@ Remove the ``register()`` call for the ``Choice`` model. Then, edit the ``Poll``
registration code to read:: registration code to read::
from django.contrib import admin from django.contrib import admin
from polls.models import Poll from polls.models import Choice, Poll
class ChoiceInline(admin.StackedInline): class ChoiceInline(admin.StackedInline):
model = Choice model = Choice