fix Django version vs Python version issues