main_school School objects get id school_id db_user main_school main_s

1
2
3
main_school = School.objects.get(id=school_id)
db_user.main_school = main_school
# No need to use db_user.save()