#18253: error in tutorial
-------------------------------+--------------------
     Reporter:  anonymous      |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Documentation  |    Version:  1.3
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 https://docs.djangoproject.com/en/1.3/intro/tutorial02/

 def __unicode__(self):
         return self.question

 should probably read

 def __unicode__(self):
     return self.choice

 see here
 http://stackoverflow.com/questions/2811075/model-django-poll

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18253>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to