def create_url(self, id=None): """Return a non-guessable localhost subdomain url for this terminal.""" return "http://%s.localhost" % (id or utils.roll_id())
def _next_iframe_id(self): # unique random id to hide the terminals url return utils.roll_id()