@receiver(pre_save, sender=Microsite)
def on_microsite_updated(sender, instance, **kwargs):
 if instance.id:
  original = Microsite.objects.get(id=instance.id)
  _make_archive_copy(original)

@ receiver ( pre_save , sender = Microsite ) def on_microsite_updated ( sender , instance , ** kwargs ) : if instance . id : original = Microsite . objects . get ( id = instance . id ) _make_archive_copy ( original )
archive the microsite on an update operation .