fix the import error intend to django 1.6.2