title: Converting a django ValuesQuerySet to a json object
body: <p>I'm trying to use the ValuesQuerySet feature in Django to limit the number of fields returned from query to only those I need. I would like to serialize this data set a JSON object However, Django keeps throwing an error. Below I've included my code and the error I receive: </p>
  
  <pre><code>objectList = ConventionCard.objects.values('fileName','id').filter(ownerUser = user)
  data = serializers.serialize('json', objectList)
  return HttpResponse(data, mimetype='application/javascript')
  </code></pre>
  
  <p>The Error: </p>
  
  <pre><code>Exception Type:     AttributeError
  Exception Value:    'dict' object has no attribute '_meta'
  Exception Location:     C:\Python27\lib\site-packages\django\core\serializers\base.py in serialize, line 41
  </code></pre>
  
  <p>Thanks !</p>