A short, overly snarky Django/SQLAlchemy FAQ:
Does Django support SQLAlchemy?
Define "support".
Um, can I use SQLAlchemy in Django?
Yes. ``import sqlalchemy`` works perfectly.
OK, but can I define models in Django but use SQLAlchemy to query them?
Perhaps. Try http://code.google.com/p/tranquil/.
OK, but can I define models in SQLAlchemy and have them automatically
translated into Django models so that stuff like the admin and generic view
still work?
No. Use inspectdb.
OK, but I really want the admin to Just Work¢â with SQLAlchemy models.
Tough.
Will Django ever drop its ORM and use SQLAlchemy?
No.
Why not?
Why should it?
But Django's ORM is so weak!
Exactly.
So what's the SQLAlchemy branch then?
It was an experiment to see if anyone would work on Django/SQLAlchemy
integration. No one was interested, so the branch is defunct. Forget
it even existed.
Will Django ever provide some sort of automatic shim that translates between
Django models and SQLAlchemy models?
If I have to write it? No. If you write it? Maybe.
Jacob