

def after_signup(self, form):
    if (not self.signup_code):
        self.created_user.teams_created.create(name=form.cleaned_data['team'])
    super(TeamSignupView, self).after_signup(form)

dataset/ETHPy150Open pinax/pinax-teams/pinax/teams/views.py TeamSignupView.after_signup/original