You are writing a comment about Replacing Django's ORM with SQLAlchemy, here is a quick summary:

The second example in the Loose Coupling in Django series. This one looks at a place where Django's loose coupling is at its tightest: the Django ORM.


You are responding to this comment written by Yury Yurevich on July 24th 2008, 05:16.

I wrote about concurrent usage of Django ORM and SQLAlchemy - Django and SQLAlchemy (in russian), but this approach have big disadvantage: double number of connections to RDBMS (for Django ORM and for SQLAlchemy).

Ivan Sagalaev (aka maniac) suggested more elegant and clear way to do it in his "Integrating Django and Pylons app" masterclass (in russian): he wrote Django DB backend which uses SQLAlchemy connection pool (see django-and-pylons for samples).


Please be aware that comment forms go stale after one hour.





Comments may make use of LifeFlow MarkDown. Raw html will be escaped.


Quick Introduction to LifeFlow MarkDown Syntax

A highlighted code block:

@@ ruby
def a (b, c):
  b * c
end
@@

Other common languages work as well: scheme, python, java, html, etc.

Other markdown syntax:

 ### This is an h3 title
#### This is an h4 title
**this is bold**
*this is italics*

1. This is an
2. ordered list

* And an unordered
* list too

[this is a link](http://www.lethain.com/ "Lethain")