Re: Multithreaded testing?

2007-08-21 Thread quentinsf
Aha - it seems to work, at least for simple cases, if I'm using MySQL and not sqlite. Sorry to bother you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send emai

Multithreaded testing?

2007-08-21 Thread quentinsf
OK, I realise I've got a slightly unusual case here and don't want to take much of anyone's time, but I wondered if it would be easy to make it work... I wanted to do a simple test which involved the database being queried and updated from two different threads. (In real life this is to do with n

Re: Disable field creation in forms for hidden model fields (#3247)

2007-01-20 Thread quentinsf
Just an extra vote for this. I I think it's probably neatest to have the option of an editable parameter in the Admin class, which overrides any model settings. Perhaps: class Admin: editable = {'field1': True, 'field2': False} --~--~-~--~~~---~--~~ You receiv