Definitely go with middleware--it's very clean and simple. Also, make
sure to use sqlalchemy.orm.scoped_session()--it makes using sessions
in Django pretty much transparent; any time you need to work with a
session, you call Session(), and it either uses your current one, or
creates a new one if
Hi
you can also try out
http://gthc.org/projects/notmm/0.2.12/
if you feel adventurous and if you are not afraid of using the pdb to
find problems in your very own app, not the django one. althought its clear
to me
that sometimes the best approach for adding sessions depends on the scope
of your
Hi,
On Thu, Apr 23, 2009 at 4:05 PM, davidlmontgomery
davidlmontgom...@gmail.com wrote:
I would like to know if there is a consensus on the best
way to set up and remove sqlalchemy Sessions in django.
I figure I'm either going to use middleware, something like this
thread: