use of threading.Thread causes db connection leak

2012-05-31 Thread cberner
I discovered our webserver was leaking db connections because of the use of threading.Thread in combination with the Django ORM. Looking through the Django 1.4 release notes it seems that connection objects are safe to share among threads. Is there something special that I need to do to make sure t

Re: Management commands inside namespaced packages not found

2011-12-06 Thread cberner
I see. The namespaced packages weren't a problem until I tried to install them with egg-links, so it seems like this is more of a deficiency in setuptools. I'll look around for a solution On Dec 6, 4:54 am, Reinout van Rees wrote: > On 06-12-11 06:34, cberner wrote: > > >

Management commands inside namespaced packages not found

2011-12-06 Thread cberner
I've run into an issue with namespaced packages that are installed in development mode. I have two packages that are installed with pip in development mode (pip install develop): A.B.management.commands (code in ~/A.B/A/B/management/commands/) and A.C.management.commands (~/A.C/A/C/management/comm