I've catched AttributeError and ValueError exceptions in the patch for backwards compatibility reasons. I think if the old code uses import_by_path and catches the ImproperlyConfigured exception, it should have catch AttributeError, ImportError and ValueError with import_string.

I think the documentation needs a bit change, but I don't have a better suggestion for now.