On Thu, Mar 31, 2011 at 2:02 PM, Patryk Zawadzki <pat...@pld-linux.org> wrote: ... > Rather simple fix to the signal handler: > > def on_something_saved(sender, instance, created, **kwargs): > if not kwargs.get('raw', False): > do_stuff()
Concur, if the handler shouldn't run on loaddata, checking raw is the right change. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.