On Thu, 2007-06-14 at 06:33 -0700, Tipan wrote: > I've recently made some modifications to my views/urls and settings > files to improve portability of the application. This took out some > explicit references to the application files. > > For example, the line: > > from test.promotions.models import * was reduced to: > from promotions.models import * > > Now when I save to a table that has a dispatcher.connect listening to > the event - it duplicates and runs the dispatcher code twice for each > save event. Having spent some time trying to troubleshoot, when I > reset the import statements to explicit references then the despatcher > code only runs once. > > Has anyone encountered similar behaviour?
It's ticket #3951, most likely. As you'll see in the comments there, there is an approach for fixing it. However, it's likely to wait until after some serious surgery is done on the signals module and that is ongoing work at the moment. So for now, you'll just have to work around it a bit. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

