3👍
✅
You should use keyword arguments when creating the instance.
u = ExtendUser(user=user, phone=phone)
Or, if you want to use the id instead of the user:
u = ExtendUser(user_id=user.id, phone=phone)
Source:stackexchange.com