updated to use django 1.7