'Vary serializer class based on user status
This is used to allow write to write-only fields on Build by admin users
and to not return those fields to non-admin users.'

def get_serializer_class(self):

    if self.request.user.is_staff:
        return BuildSerializerFull
    return BuildSerializer
