Update Django/Python versions in tox file and fix bug