app/soc/logic/system.py
changeset 2879 cb0f9b4646aa
parent 2871 e440e94a874b
--- 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.
   """