Explorar o código

Fixed #18576 -- Added missing import in tutorial02

Thanks jaaruiz at yahoo.com for the report.
Claude Paroz %!s(int64=12) %!d(string=hai) anos
pai
achega
4c417cc9eb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/intro/tutorial02.txt

+ 1 - 1
docs/intro/tutorial02.txt

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