title: Class has no 'objects' member in django
body: <pre><code>from django.http import HttpResponse
  from .models import Destination
  def index(request):
      boards = Destination.objects.all()
      boards_names = list()
      for Destination in boards:
       boards_names.append(Destination.destinationtext)
       response_html = '&lt;br&gt;'.join(boards_names)
       return HttpResponse(response_html)
  </code></pre>
  
  <p>I have written this code following just for practice of django framework but I am getting the following errors through pylint :</p>
  
  <pre><code>E1101:Class 'Destination' has no 'objects' member
  E0601:Using variable 'Destination' before assignment
  </code></pre>