def unsafe_undefined(self, obj, attribute):
        return self.undefined('access to attribute %r of %r '
                              'object is unsafe.' % (
            attribute,
            obj.__class__.__name__
        ), name=attribute, obj=obj, exc=SecurityError)
Testing `select_related` on geographic models (see #7126).
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/sandbox.py/SandboxedEnvironment.unsafe_undefined--crossover with--dataset/ETHPy150Open django/django/tests/gis_tests/relatedapp/tests.py/RelatedGeoModelTest.test02_select_related