def wrapper(*args, **kwargs):
    if kwargs['raw']:
        print('Skipping signal for %s %s' % (args, kwargs))
return
signal_handler(*args, **kwargs)
return wrapper
How do I prevent fixtures from conflicting with django post_save signal code?