title: Django Query Set into json object
body: <p>Below I'm trying to get a query make is a json object, so that in my template using jQuery I can loop over it. </p>
  
  <p><strong>My View</strong></p>
  
  <pre><code>from django.core import serializers
  objectQuerySet = Recipient.objects.filter(incentiveid=incentive).values("mobile", "countryid")
  data = serializers.serialize("json", objectQuerySet)
  </code></pre>
  
  <p>return render_to_response('smssend.html', context_instance=RequestContext(request))</p>
  
  <p><strong>I'm getting the following error.</strong></p>
  
  <pre><code>Non-model object (&lt;type 'dict'&gt;) encountered during serialization
  
  Request Method: 
  </code></pre>
  
  <p>why?</p>