SQLAlchemy with Python 64-bit on Windows
By Eric
—
—
2 minute read
While hooking up SQLAlchemy for a web project, I kept running into attribute errors for 'session_registry'. I figured I was doing something wrong, so I thought I'd just walk through the tutorial as a sanity check.
I was, apparently, insane.
>>> u = session.query(User).filter_by(name='ed').first()
Traceback (most …