class Meta:
    abstract = True

@receiver(pre_save)
def set_uuid_on_save(sender, instance, *args, **kwargs):
    if instance.pk is None:
        instance.uuid = uuid.uuid4()
Django fixtures save with default value