def get_value_for_form(self, instance):
    value = super(ReferenceProperty, self).get_value_for_form(instance)
    if value is not None:
      value = value.key()
    return value
The Internet host and port number of the resource being requested.
dataset/ETHPy150Open IanLewis/kay/kay/utils/forms/modelform.py/ReferenceProperty.get_value_for_form--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/logservice/logservice.py/RequestLog.host