def remove_vrf(self):

        try:
            vrf = VRF.get(int(request.params['id']))
            vrf.remove()

        except NipapError, e:
            return json.dumps({'error': 1, 'message': e.args, 'type': type(e).__name__})

        return json.dumps(vrf, cls=NipapJSONEncoder)
Always returns EmptyQuerySet.
dataset/ETHPy150Open SpriteLink/NIPAP/nipap-www/nipapwww/controllers/xhr.py/XhrController.remove_vrf--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/models/query.py/EmptyQuerySet.extra