Re: same class name in two applications in different projects

2007-08-23 Thread Michal Jedryszka
Do you also have it. When nothing comes to my mind i ask for help and after a minute i have what i want without any help :) djando.db.loaders - get_model Thank you for cooperation :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

same class name in two applications in different projects

2007-08-23 Thread Michal Jedryszka
Hi. I have some problem i cant figure out. I have two separate apps in separate projects. I want to write script that uses both apps. Problem is that in models i have two different classes with same name (call it C). So to make it short i have something like this: from projA.appA.models import C

mysql problems - guess not, but still :)

2007-03-12 Thread Michal Jedryszka
Hi. We have some intresting situations in one of our environments. 1. When we generate request that causes object not found errors after 5 such requests we get info that we cannot connect DB. Looks like some connection limitation but we cant reproduce it in other environments. 2. Occures when us

Re: connecting to multiple databases

2007-03-05 Thread Michal Jedryszka
I had an data import task for django application. Client moved data from several databses into new one. All legacy databases had same model, so there was proper django model created for them. And I had problem with importing data from all those legacy system. I've sniffed a bit and on the base of