def filter_legislative_bodies(self):
        return self.filter_nodes('//LegislativeBody[@id]')
This decorator activates commit on response. This way, if the view function
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/__init__.py/StoredConfig.filter_legislative_bodies--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/transaction.py/commit_on_success