visit this website explained well: https://pyquestions.com/how-to-set-current-user-to-user-field-in-django-rest-framework