title: How do you access query params in a Django Rest Framework 3.0 serializer?
body: <p>In Django Rest Framework 2.x you could access, for example, the "fields" query parameter in a serializer like this:</p>
  
  <pre><code>   fields = self.context['request'].QUERY_PARAMS.get('fields')
  </code></pre>
  
  <p>That no longer works in DRF 3.0, but I can't find the change documented in the API except in general terms. It looks like it might be something like <code>self.context.get('request')?????</code> but I can't figure it out.</p>
  
  <p>How would you do it in DRF 3.0? I'm talking about accessing the query.params in the <em>serializer</em> rather than in the view.</p>
  
  <p>thanks</p>
  
  <p>John </p>