Re: Allauth user fields and userProfile fields save in one registrationform

2015-07-08 Thread Sadaf Noor
Usually you would have separated ModelForm child for your User and Profiles: class UserForm(forms.ModelForm): > password = forms.CharField(widget=forms.PasswordInput()) > class Meta: > model = User > fields = ('username', 'email', 'password') > class UserProfileForm(forms.M

Re: Allauth user fields and userProfile fields save in one registrationform

2015-07-08 Thread Curtis Maloney
This is a list for discussion of the development _of_ Django, not development _with_ Django. This question is better suited to the django-users list. In general, if you need to edit two models in one form submission, you use two ModelForms... I have a blog post on this topic: http://musings.tinbr

Allauth user fields and userProfile fields save in one registrationform

2015-07-07 Thread Marco Neumann
Hi All Can someone point me in the right direction. On registration I would like to fill in the UserFields(Username-password etc) and the ProfileFields (City, phonenumber etc) and save theme both in the models User and UserProfile Need i to expaned the sigupform or put two form on one page a