<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def define_contributor(self, request):
 """Define contributor by adding it to request.data."""

        request.data['contributor'] = self.resolve_user(request.user).pk