title: Django REST serialize single model instance
body: <p>I'm trying to serialize a model instance of type <code>Shift</code> but I'm getting an error.</p>
  
  <blockquote>
    <p>'Shift' object has no attribute 'get'</p>
  </blockquote>
  
  <pre><code>shift = models.Shift.objects.get(pk=8)
  ser = serializers.ShiftSerializer(many=False, data=shift)
  ser.is_valid()
  </code></pre>
  
  <p>ShiftSerializer is a ModelSerializer.
  This works if I get the shift using <code>filter</code> and <code>all</code> and <code>many=True</code>.</p>
  
  <p><strong>Solution:</strong></p>
  
  <pre><code>shift = models.Shift.objects.get(pk=8)
  ser = serializers.ShiftSerializer(shift)
  </code></pre>