Build matrix and exclusions for Django/python