Added python 3 support and dropped django 1.4