code: def doAffiliate(self):
          
          sreg_req = sreg.SRegRequest(['nickname'], ['fullname', 'email'])
          href = sreg_req.toMessage().toURL(OPENID_PROVIDER_URL)
  
          message = """Get an OpenID at <a href=%s>%s</a>""" % (
              quoteattr(href), OPENID_PROVIDER_NAME)
          self.render(message)
docs: Direct the user sign up with an affiliate OpenID provider.