Kovid Tripathi
Kovid Tripathi

Reputation: 1

Seeing yellow lines below django.shortcuts in VS CODE

I'm new in Django, And I'm seeing yellow lines below everything I include from Django like django.db import models Seeing yellow lines on Django.db and model also in app.djando In all of the Django imported stuff The food is working totally fine but

whenever i see a video there is nothing like this And as much as I know it generally shows when you haven't installed a Library or package

When I hover on it, it shows "Import "django.shortcuts" could not be resolved from sourcePylancereportMissingModuleSource (module) shortcuts"

I have tried like many solutions shown in Google result and also on chatgpt like

Upvotes: 0

Views: 77

Answers (1)

Kovid Tripathi
Kovid Tripathi

Reputation: 1

This problem was occurring because of the python IntelliSense extension that I was using on vs code In the current version they have fixed it somehow But if somebody is facing an issue like this you can turn off your IntelliSense or just ignore the yellow line

Upvotes: 0

Related Questions