Search code examples
djangodjango-1.9

How to locate RemovedInDjango19Warning


I'm getting this warning quite frequently:

lib\importlib\_bootstrap.py:321: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.

I simply have no occurrence of importlib in my entire project. I'm assuming it's from a dependency my project have.

My question is: Where does this warning is coming from? How can I determine the source of warning?

As long as I keep my project with the latest Django's version, this might become a problem very soon.


Solution

  • Use command grep.

    grep -r "django.utils.importlib" /path/to/virtual_env