Bug in newest version of Django