def create_new_user(self):
        username = email.replace('@', '--')
        user = User(username=slugify(username), email=self.email)
        self.make_random_password()
        user.set_password(self.password)
        user.save()
        setattr(self, 'user', user)
        return user
Creates a new user for the entered password.
dataset/ETHPy150Open jjdelc/django-easy-registration/easyreg/forms.py/EmailSignupForm.create_new_user