def fake_site_name(name, default=None):
 if (name == 'SITE_NAME'):
  return 'openedx.localhost'
 else:
  return default

def fake_site_name ( name , default = None ) : if ( name == 'SITE_NAME' ) : return 'openedx.localhost' else : return default
method for getting site name for a fake site .