#17024: missing import Choice line in tutorial02
-------------------------------------+-------------------------------------
     Reporter:  stephen.smith@…      |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  1.3
    Component:  Documentation        |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by stephen.smith@…):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Sorry, noticed that it is mentioned in the previous section.  The problem
 is that I sensed in the tutorial that the first way of adding the Choice
 model was going to be the "not" recommended way to add it so I skipped
 following that section and jumped to the second "more" recommended way to
 add the Choice model.  In doing so, I missed the import statement
 mentioned previously.  I suspect that most will follow along and not
 experience the error I reported, but maybe for clarity the "from
 polls.models import Choice" line could be added to the code snippet
 mentioned at the location above in this ticket's description.
 - Stephen

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17024#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to