Send password on user registration, django-allauth
问题 I am using django-alluth for authentication/registration on my django app. And I need to create a custom signup form with only one field: email. The password will be generated on the server. Here is a form I have created: from django import forms from users.models import User class SignupForm(forms.ModelForm): email = forms.CharField() class Meta: model = User fields = ['email',] esclude = ['password1', 'password'] def __init__(self, *args, **kwargs): super(SignupForm, self).__init__(*args, *