python - Django: thin model to consume XML API? -


a software architecture question:

i have top two/thirds of django app: view , template layers. i'd use external resource model. how?

i'd use of django model layer possible, orm. external resource specialized java package, providing content via flexible backend xml api.

my current strategy sort of thin model shim api: django models without fields, instead series of @propertys, each function pulling data external resource, needed.

is idea? how else solve problem?

judging deafening silence, gather answer is: differently.

we're rebuilding project consume json restful interface instead.


Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

jquery - jqGrid update specific column data with out refreshing the entire column? -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -