Can't it also raise ValueError and AttributeError? I'm not sure I like having to catch those two in addition to ImportError for all usage of import_string, but I'd add the question to the ticket in order to get feedback on whether or not catching those exceptions in import_string will be considered harmful.