2 ms·
@almost is right - there's nothing that strictly ties you in to Django's ORM. A few thoughts: * You'll need to use the Serializer class rather than the automa
by tomchristie 14y ago
@almost is right - there's nothing that strictly ties you in to Django's ORM.
A few thoughts:
* You'll need to use the Serializer class rather than the automatic ModelSerializer.
* You'll need to do a bit of tweaking if you want to use the Generic class based views (since they default to using the standard Django querysets), but if you're just writing the views yourself there's nothing tying you to the ORM.
* You'll need to deal with the transaction management, probably by using middleware something like this: http://stackoverflow.com/questions/6606725/best-way-to-integrate-sqlalchemy-into-a-django-project http://stackoverflow.com/questions/6606725/best-way-to-integ...
If it is something you pursue it'd be tremendously helpful if you could post to the list on how you get on.