def FakeORM(*args):
 if (not (args in _orm_cache)):
  _orm_cache[args] = _FakeORM(*args)
 return _orm_cache[args]

def FakeORM ( * args ) : if ( not ( args in _orm_cache ) ) : _orm_cache [ args ] = _FakeORM ( * args ) return _orm_cache [ args ]
creates a fake django orm .