def create_inactive_user(self, form):
    '\n        Create the inactive user account and send an email containing\n        activation instructions.\n\n        '
    new_user = form.save(commit=False)
    new_user.is_active = False
    new_user.save()
    self.send_activation_email(new_user)
    return new_user
Create the inactive user account and send an email containing
activation instructions.
def create_inactive_user(self, form):
    '\n        Create the inactive user account and send an email containing\n        activation instructions.\n\n        '
    new_user = form.save(commit=False)
    new_user.is_active = False
    new_user.save()
    self.send_activation_email(new_user)
    return new_user