2👍
✅
To create UserDetails in your view
user = User.objects.get(id=id)
UserDetails.objects.create(id=user.id,user=user,extA=your_val_1,extB=your_val_2)
And then you should be able to refer it as user.userdetails.extA, user.userdetails.extB
Source:stackexchange.com