Archives Jan. 24, 2010
SQLAlchemy orm join against subquery
Written by
on
in
Snaking.
This is one of those things that I have to look up every time I go to do it after being away from SA for a while.
You have a table A, with a many-to-one table B referencing A. You want to get summary data from B joined with your table A. The query to ...
TurboGears as a Twisted WSGI Application (in 125 seconds)
Written by
on
in
Snaking.
Say you want to have a TurboGears application running inside a Twisted web-server (which lets you mix in all sorts of other protocols). J.P. has written up a 60-second recipe for getting a WSGI application running inside Twisted. This post takes you the rest of the way to getting TurboGears 2.1 running inside that ...