1👍
Just set the office
as a simple attribute:
user = User(username=username, email=email)
user.set_password(password)
user.office = office
user.save()
Source:stackexchange.com
1👍
Just set the office
as a simple attribute:
user = User(username=username, email=email)
user.set_password(password)
user.office = office
user.save()