Unresolved reference: ‘django’ error in PyCharm

I assume you’re using a virtualenv which is located in the same directory as other project files. Python should know exactly that path. So, it’s possibly that Pycharm is using the wrong Interpreter.

Go to Settings -> Project: -> Project Interpreter -> switch to the right path

In the interpreter packages, there should be Django package installed. If not, do it here/in terminal.

Leave a Comment

tech