コード例 #1
0
ファイル: forms.py プロジェクト: nttdocomo/kickeleven
 def save(self, domain_override=""):
     source = web.input()
     """
     Create the new ``User`` and ``RegistrationProfile``, and
     returns the ``User`` (by calling
     ``RegistrationProfile.objects.create_inactive_user()``).
     
     """
     new_user = RegistrationProfile.create_inactive_user(
         username=source["username"],
         password=source["password"],
         email=source["email"],
         domain_override=domain_override,
     )
     return new_user