Re: signals sent twice

2008-07-12 Thread Malcolm Tredinnick
On Sat, 2008-07-12 at 13:49 +0100, bayo opadeyi wrote: > are there any conditions where signals are sent twice? It's possible that signal handler is registered twice, due to some particulars about how Python import paths work and the fact that Django imports your models in a slightly unpredictab

signals sent twice

2008-07-12 Thread bayo opadeyi
are there any conditions where signals are sent twice? i have these models (among others) #sales.models.py class Sale(models.Model): customer = models.ForeignKey(Customer) stock = models.ForeignKey(Stock) quantity = models.IntegerField() price = models.DecimalField(max_digits=10,de