Closed bkoatz closed 8 years ago
It appears this is an issue in your setup, not in allauth... do you happen to use a custom signup form, and is that a ModelForm? Make sure it is a regular form instead. It is not feasible for me to debug project specific issues... so I'll have to close this.
It's a custom signup form of the type SignupForm, within a SignupView, both from allauth.account. Thanks for the help!
Don't point ACCOUNT_SIGNUP_FORM_CLASS to a SignupForm.. it should really be a regular form (derived from forms.Form) with just your additional fields.
I'm on Django 1.8.4, allauth 0.24.1, and I receive this error when after calling form.save on an instance of allauth's SignupForm
It seems like maybe an EmailAddress (allauth model) is getting created early, but all I'm doing is calling form.save within form_valid, which as far as I know is standard Django practice. Any help? Thanks!
PS Same as stack overflow question I posted here: http://stackoverflow.com/questions/35542661/django-allauth-emailaddress-assertion-error-when-signing-up