I am trying to use django-allauth for user registrations. I have this form
class UserProfileForm(forms.ModelForm):
class Meta:
model = UserProfile
fields = ('gender', 'country', 'city', 'birth_date', 'has_accepted_tos')
and as per instructions I have set in my settings.py
ACCOUNT_SIGNUP_FORM_CLASS = "userprofile.forms.UserProfileForm"
The problem is that when the form is rendered my custom form asking for gender, country etc is rendered on top and then the standard User fields that ask for username, email and password. Something in this order:
gender
country
city
birth_date
has_accepted_tos
username
email
password1
password2
I would like to display the fields in this order
username
email
password1
password2
gender
country
etc