diff -r 150b42dac7c4 -r fee8732830f7 app/soc/logic/system.py --- a/app/soc/logic/system.py Sat Sep 05 15:56:19 2009 +0200 +++ b/app/soc/logic/system.py Mon Sep 07 20:02:35 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. """