use importerror instead of improperlyconfigured so that it does not break in admindocs