Converting import to fits django 1.5.x version