title: Django: want to sort comments by datetime
body: <p>I have in my view comments and I want to sort them with the latest comment at the top of the list. However it is not working. I get this error.</p>
  
  <p><code>Caught TypeError while rendering: 'Comment' object is not iterable</code></p>
  
  <p>I am not so sure what is causing this problem. Here is my views and model which may help.</p>
  
  <p><strong>Views</strong></p>
  
  <pre><code>def home(request):
      comments = Comment.objects.latest('datetime')
      return render_to_response('home.html', {'comments':comments}, context_instance=RequestContext(request))
  </code></pre>
  
  <p><strong>models</strong></p>
  
  <pre><code>class Comment(models.Model):
      name = models.CharField(max_length = 40)
      datetime = models.DateTimeField(default=datetime.now)
      note = models.TextField()
      def __unicode__(self):
          return unicode(self.name)
  </code></pre>