Making salt.pillar.django_orm python3 compatible