Setting up Django Module to a Django Project in Intellij IDEA

Answered

I have a django project. how do I remove the red underline of the HttpResponse? It seems the intellij cannot find the django module. how do I setup the module? is there any tutorial which address this? I've caught upon this: https://www.jetbrains.com/help/idea/django-support7.html but it's still unclear to me. I'm on Mac Mojave by the way. Got python 3.7 and django-admin installed on the mac

0
2 comments

Hello,

Do you have any custom modules with names which may cause the conflict?

If not, try File | Invalidate Caches / Restart...

In case the issue remains, create a new test project and see how it goes there.

0
Avatar
Permanently deleted user

as it turns out I should mark the Inherit global site-packages and Make available to all projects

Thank you for responding by the way

it works as expected from now on

0

Please sign in to leave a comment.