1👍
✅
This is because PyCharm does not have the same sys.path as your django project.
To get rid of the false warning, mark your top-level django directory (the one that contains manage.py) as a directory that contain sources:
- select the directory in pycharm, then right click
- in the context menu, select Mark Directory As > Sources Root
Source:stackexchange.com