Re: Dropping Python 2.3 compatibility for Django 1.1

2008-11-26 Thread Ben Godfrey
+1 to Malcolm and Julien. Having a clear roadmap before you make changes is really helpful. I've been bitten by changes appearing in code suddenly because I've tuned out for a few weeks. There is always the option of sticking to an earlier revision, but that doesn't help for long. I also agree i

Re: Problems with concurrent DB access and get_or_create()

2008-07-21 Thread Ben Godfrey
Hi, I'm using rev 7713 (I need to port to the new upload handling before I can get back to trunk). The code that actually adds to the table: def do_update(self, event): if event.countable: matrix, new = self.get_or_create(date=event.time.date(), memb

Re: Problems with concurrent DB access and get_or_create()

2008-07-15 Thread Ben Godfrey
I'm experiencing the issue with concurrent writes on a low traffic site hosted on a single machine DB and web server. I'm logging reporting events in certain views and everytime I get indexed by a search engine, this error floods into my inbox. If I implement the workaround of hiding the multiple

Session unpickle exceptions silenced

2007-04-26 Thread Ben Godfrey
I just spent a day unpicking a bug that manifested as a disappearing session. It wasn't uniform so it was hard to recreate. It turned out objects that I was placing in the session were not unpickling successfully. It was very hard to trace this to the Session.get_decoded method and it fel