def create_inactive_user(self, form):
    'Create the inactive user account and wait for validation from superuser'
    new_user = form.save(commit=False)
    new_user.is_active = False
    new_user.save()
    return new_user
Create the inactive user account and wait for validation from superuser
def create_inactive_user(self, form):
    
    new_user = form.save(commit=False)
    new_user.is_active = False
    new_user.save()
    return new_user