upgrade to django 1.6.5 (bug 1010611)