How can I get the host name that web2py is running on so that I can simply 
deploy a janrain enabled app without editing db.py each time

auth.settings.login_form = RPXAccount(request, 
api_key='...', 
domain='...', 
url = "http://"; + application.hostname + "/%s/default/user/login" % 
request.application)

Reply via email to