diff -r cf4b80992451 -r cb0f9b4646aa app/soc/logic/system.py --- a/app/soc/logic/system.py Mon Sep 07 20:27:37 2009 +0200 +++ b/app/soc/logic/system.py Mon Sep 07 20:36:14 2009 +0200 @@ -26,6 +26,12 @@ import settings +def getHostname(): + """Returns the hostname + """ + + return os.environ.get('HTTP_HOST') + def getAppVersion(): """Returns the Google App Engine "version" of the running instance. """