Can I have a custom service providing the storage of the models I use in Django? That service would not be speaking SQL.
I would like to build a web frontend to a system that consists of multiple services linked with a network based IPC, one of which provides an interface to commonly used, persistent objects (stored in a database).
The real question here is not whether it's possible but whether it would make sense. For example, if I end up inheriting models.Model and overwriting every single method, skipping all the rest of django.db, I guess it wouldn't.
The object service might even end up being implemented in Django, too, but the communication between it and the web frontend would not be using SQL.
You might take a look at An introduction to using couchdb with django. Dunno if connecting to CouchDB is directly something that interests you, but this is a pretty good example of how to use django to connect to a RESTful webservice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With