Re: Bug with unique_together on mod_wsgi?

2008-06-29 Thread Graham Dumpleton
Was your mod_python setup using single threaded prefork? Is your mod_wsgi setup also using single threaded prefork, or have you moved to using multithread worker MPM and/or multithreaded daemon processes? Maybe you are seeing a multithreading issue. Graham On Jun 29, 8:13 pm, Julien <[EMAIL

Re: Bug with unique_together on mod_wsgi?

2008-06-29 Thread Julien
Ok, thanks. I too found strange that it could be related. But the problem only appeared on the production server just after we switched to mod_wsgi. I'll investigate a bit further and post here if I can fix it. On Jun 29, 6:23 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > `unique_together` is a

Re: Bug with unique_together on mod_wsgi?

2008-06-29 Thread Alex Koshelev
`unique_together` is a database level feature so it cannot depend on web-server and its modules. When you don't give any code to see where you add new entry and retrieve. On Jun 29, 10:32 am, Julien <[EMAIL PROTECTED]> wrote: > Hi, > > Since I switched my site from mod_python to mod_wsgi, the

Bug with unique_together on mod_wsgi?

2008-06-29 Thread Julien
Hi, Since I switched my site from mod_python to mod_wsgi, the meta attribute 'unique_together' stopped working properly. When creating a duplicate entry, instead of getting the error message "Entry with this date already exists for the given slug." I get an exception: "MultipleObjectsReturned: