Fix an import error on Django master.