def allow_relation(self, obj1, obj2, **hints):
        """Allow any relation between two objects in the pool"""
        if obj1._state.db in self.pool and obj2._state.db in self.pool:
            return True
        return None
dataset/ETHPy150Open michaelhelmick/django-balancer/balancer/routers.py/BasePoolRouter.allow_relation/original