Pycharm unable to resolve Django reference

Viewed 33

I pulled a project from my GitHub to my laptop. After I install my requirements.txt file Pycharm is giving me an error "unresolved reference 'contrib/middleware'" in settings.py despite having Django installed and support enabled. The project is working in Pycharm, I'm just getting my text highlighted and imports aren't working. I've deleted the virtual environment, deleted the project, and pulled it again and I'm getting the same errors

enter image description here

enter image description here

enter image description here

1 Answers

I was able to resolve the issue by uninstalling and reinstalling. May not be a long-term solution but it is resolved for now.

Related