def signal_committed_filefields(sender, instance, **kwargs):
 for field_name in getattr(instance, '_uncommitted_filefields', ()):
  fieldfile = getattr(instance, field_name)
  if fieldfile:
   signals.saved_file.send_robust(sender=sender, fieldfile=fieldfile)

def signal_committed_filefields ( sender , instance , ** kwargs ) : for field_name in getattr ( instance , '_uncommitted_filefields' , ( ) ) : fieldfile = getattr ( instance , field_name ) if fieldfile : signals . saved_file . send_robust ( sender = sender , fieldfile = fieldfile )
a post_save signal handler which sends a signal for each filefield that was committed this save .