Alternate datasource for django model?
Posted
by slypete
on Stack Overflow
See other posts from Stack Overflow
or by slypete
Published on 2009-09-19T05:04:47Z
Indexed on
2010/06/08
16:02 UTC
Read the original article
Hit count: 407
I'm trying to seamlessly integrate some legacy data into a django application. I would like to know if it's possible to use an alternate datasource for a django model. For example, can I contact a server to populate a list of a model? The server would not be SQL based at all. Instead it uses some proprietary tcp based protocol.
Copying the data is not an option, as the legacy application will continue to be used for some time. Would a custom manager allow me to do this?
This model should behave just like any other django model. It should even pluggable to the admin interface.
What do you think?
Thanks, Pete
© Stack Overflow or respective owner