title: django-rest-framework serializer different fields in multiple views
body: <p>I am new at Django and couldn't find solution for my problem.</p>
  
  <p>The problem is to force specific serializer for include different amount of fields in case of utilizing different views. I would like to use 'id' field  in my 1st view, and in 2nd view - 'id' and 'name' fields.</p>
  
  <p>Here is my model.py</p>
  
  <pre><code>class Processing(models.Model):
      id = models.AutoField(primary_key=True)
      name = models.CharField()
      description = models.CharField()
  </code></pre>
  
  <p>And here is my serializer.py</p>
  
  <pre><code>class ProcessingSerializer(serializers.ModelSerializer):
      id = serializers.ModelField(model_field=Processing()._meta.get_field('id'))
      class Meta:
          model = Processing
          fields = ('id', 'name')
  </code></pre>
  
  <p>Any help will be welcome.</p>