title: How to include extra data in the Django serializer response?
body: <p>I am trying to make a livesearch with Django and jQuery. What I've done is make the javascript ask for some data with the getJSON function, then I've set up a view in Django that returns a JSON response automated by the Django serializer.</p>
  
  <p>And this works well, it returns a json response with the text/javascript content-type. To avoid sending all the data, (alot that i dont need) i did this:</p>
  
  <p><code>
  response.write(serializers.serialize("json", soknad_list, fields=('name', 'image', 'genre')))
  </code></p>
  
  <p>But for instance, the 'genre' field is a manyToMany field, so is it possible to get the values from genre.all.0 for instance and not just the genre ID?</p>
  
  <p>And the model has a function <code>get_absolute _url</code>, is it possible to include this in the JSON response, if so how?</p>
  
  <p>So i guess my question is, is it possible to include stuff other than the raw field data in the JSON response, if not, how would you go about solving my problem?</p>