예제 #1
0
파일: forms.py 프로젝트: nzysoft/IBookmark
 def create_signup_code(self, commit=True):
     email = self.cleaned_data["email"]
     signup_code = SignupCode.create(email, 24, group=self.group)
     if commit:
         signup_code.save()
     return signup_code