def get_default(self):
        field_default = super(ForeignKey, self).get_default()
        if isinstance(field_default, self.rel.to):
            return getattr(field_default, self.rel.get_related_field().attname)
        return field_default
Increment a flow control window, optionally for a single stream. Allows
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/models/fields/related.py/ForeignKey.get_default--crossover with--dataset/ETHPy150Open python-hyper/hyper-h2/h2/connection.py/H2Connection.increment_flow_control_window