Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This was necessary under python 2, but now that python 3 supports exception chaining, the underlying `ImportError` won't be masked by the other exceptions. I considered augmenting the error message to mention checking in the path / venv, but these days I think people will naturally google for `ImportError` and find plenty of helpful context from StackOverflow etc. Such as this very question/answer: https://stackoverflow.com/questions/14013728/django-no-module-named-django-core-management
- Loading branch information