title: Saving custom user model with django-allauth
body: <p>I have django <a href="https://docs.djangoproject.com/en/4.0/topics/auth/customizing/#extending-the-existing-user-model" rel="nofollow noreferrer">custom user model</a> <code>MyUser</code> with one extra field:</p>
  <pre><code># models.py
  from django.contrib.auth.models import AbstractUser
  
  class MyUser(AbstractUser):
      age = models.PositiveIntegerField(_(&quot;age&quot;))
  
  # settings.py
  AUTH_USER_MODEL = &quot;web.MyUser&quot;
  </code></pre>
  <p>I also have according <a href="https://stackoverflow.com/a/12308807/752142">to these instructions</a> custom all-auth <a href="https://django-allauth.readthedocs.org/en/latest/#configuration" rel="nofollow noreferrer">Signup form class</a>:</p>
  <pre><code># forms.py
  class SignupForm(forms.Form):
      first_name = forms.CharField(max_length=30)
      last_name = forms.CharField(max_length=30)
      age = forms.IntegerField(max_value=100)
  
      class Meta:
          model = MyUser
  
      def save(self, user):
          user.first_name = self.cleaned_data['first_name']
          user.last_name = self.cleaned_data['last_name']
          user.age = self.cleaned_data['age']
          user.save()
  
  # settings.py
  ACCOUNT_SIGNUP_FORM_CLASS = 'web.forms.SignupForm'
  </code></pre>
  <p>After submitting <code>SignupForm</code> (field for property <code>MyUser.age</code> is rendered corectly), I get this error:</p>
  <blockquote>
  <p><strong>IntegrityError at /accounts/signup/</strong><br />
  (1048, &quot;Column 'age' cannot be null&quot;)</p>
  </blockquote>
  <p>What is the proper way to store Custom user model?</p>
  <p><em>django-allauth: 0.12.0; django: 1.5.1; Python 2.7.2</em></p>