fix django1.7 signature of promote_joins

fix django1.7 signature of promote_joins