On Jun 27, 2008, at 4:03 PM, Matt Haggard wrote:
I'm getting a ProgrammingError (I've pasted the last part of the
traceback at the bottom of the page).
The error comes from my first heavy-AJAX page in Pylons (postgres
backend). If I cause too many AJAX requests at a time, or even after
INSERT or UPDATE? I don't do any inserts with this code... only
changing what's already there.
Is an integrity constraint a PG thing, or SQLAlchemy model thing?
And can I do Session.rollback() ?
Thanks!
On Jun 27, 2:19 pm, Michael Bayer [EMAIL PROTECTED] wrote:
On Jun 27, 2008, at 4:03 PM,
I've fixed it by calling Session.clear() at the end of every
controller action (it's in __after__()).
I'm gonna go read about what that does -- right now it's just magic as
far as I can tell :)
Thanks again for the help, Michael
On Jun 27, 3:30 pm, Michael Bayer [EMAIL PROTECTED] wrote:
On