@contextmanager
    def session(self, *args, **kwargs):
        yield self.start_session(*args, **kwargs)
        self.close_session()
Ensure annotated date querysets work if spatial backend is used.  See #14648.
dataset/ETHPy150Open francelabs/datafari/debian7/zookeeper/src/contrib/huebrowser/zkui/src/zkui/rest.py/ZooKeeper.session--crossover with--dataset/ETHPy150Open django/django/tests/gis_tests/relatedapp/tests.py/RelatedGeoModelTest.test16_annotated_date_queryset