title: Django 1.9 tutorial __str__ () not working
body: <p>I am trying Django 1.9 tutorial with Win 10 os and Python 3.5 and Django version is 1.9. I have successfully created and stored values in "Question" and "Choice". After this when i have changed polls/model.py with <code>__str__()</code> as per tutorial <a href="https://docs.djangoproject.com/en/1.9/intro/tutorial02/" rel="nofollow">django tutorial 2</a>. I am getting this error:</p>
  
  <pre><code>&gt;&gt;&gt; from polls.models import Question, Choice
  &gt;&gt;&gt; Question.objects.all()
  Traceback (most recent call last):
    File "C:\newenv\lib\site-packages\django\core\management\commands\shell.py", line 69, in handle
      self.run_shell(shell=options['interface'])
    File "C:\newenv\lib\site-packages\django\core\management\commands\shell.py", line 61, in run_shell
      raise ImportError
  ImportError
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "&lt;console&gt;", line 1, in &lt;module&gt;
    File "C:\newenv\lib\site-packages\django\db\models\query.py", line 237, in __repr__
      return repr(data)
    File "C:\newenv\lib\site-packages\django\db\models\base.py", line 459, in __repr__
      u = six.text_type(self)
    File "C:\newenv\mysite_new\polls\models.py", line 8, in __str__
      return self.question_text
  AttributeError: 'Question' object has no attribute 'question_text'
  </code></pre>
  
  <p>my polls\models.py is:</p>
  
  <pre><code>from django.db import models
  
  class Question(models.Model):
      # ...
      def __str__(self):
          return self.question_text
  
  class Choice(models.Model):
      # ...
      def __str__(self):
          return self.choice_text
  </code></pre>