Q:

How to pass in user input into Custom User Model in Django

I have a custom user model that I need to add an extra field to.  The problem I have is that the information needed is user input from the registration page. 
This is the code from the form:
team = forms. ChoiceField(choices=teamChoices)

This is my user model:
class User(AbstractUser):
  username = None
  email = models. EmailField(_('email address'), unique=True)
  USERNAME_FIELD  = 'email'
  REQUIRED_FIELDS = []

  objects = UserManager()

I need to add something like this:
groups = 'team'

But I don't know how I would get that information to my model.  My user model is in models.py and my registration form is in forms.py. 
This is is my current Register Form but I haven't tested to see if it works yet:
class RegisterForm(UserCreationForm):
first_name = forms. CharField(max_length=30,widget=forms. TextInput(attrs={'placeholder':'First Name', 'class': 'form-input'}))
last_name = forms. CharField(max_length=30,widget=forms. TextInput(attrs={'placeholder':'Last Name', 'class': 'form-input'}))
email = forms. EmailField(max_length=254, widget=forms. TextInput(attrs={'placeholder':'Email', 'class': 'form-input'}))
teamChoices = (('red','red'),('green','green'),('blue','blue'),('orange','orange'))
team = forms. ChoiceField(choices=teamChoices)

class Meta:
    model = User
    fields = ('first_name','last_name','email','team','password1','password2')

A:

I ended up solving this issue and I wanted to post it here in case anyone's stuck like I was:
If you extended the UserCreationForm in your forms.py, you need to overload the def save(self, commit=True) method and you need to copy paste everything from the method from the source code into that overloaded method and then set your user.field value to your field.  For my example, the line looks like this:
user.teams = self.cleaned_data['team']

