app/soc/views/helper/access.py
changeset 996 a6f67d4c297f
parent 995 886c981fda2c
child 999 71f15c023847
equal deleted inserted replaced
995:886c981fda2c 996:a6f67d4c297f
   381       'role': 'a Program Administrator '}
   381       'role': 'a Program Administrator '}
   382 
   382 
   383   raise out_of_band.LoginRequest(message_fmt=login_message_fmt)
   383   raise out_of_band.LoginRequest(message_fmt=login_message_fmt)
   384 
   384 
   385 
   385 
   386 def checkIsHostForProgram(kwargs):
   386 def checkIsHostForSponsor(kwargs):
   387   """Raises an alternate HTTP response if Google Account has no Host entity
   387   """Raises an alternate HTTP response if Google Account has no Host entity
   388      for the specified Sponsor.
   388      for the specified Sponsor.
   389 
   389 
   390   Args:
   390   Args:
   391     request: a Django HTTP request
   391     request: a Django HTTP request