Not able to import other apps in same directory.

i have created an app call api.
there are three more apps under api app. (customers, orders and items)

the problem:
i can import items app in orders app. but not able to import customers app

First create a project using startproject, then create apps for this project with startapp. In settings.py in the generated project folder add the app names to INSTALLED_APPS. Maybe you already have a project named something different than “api”, so even if the three other apps are only used by your api app(not project), there will be no apps under or inside of another app.

It’s always more helpful if you post the code involved and the complete error message than just a description of the issue. (When posting code here, remember to enclose it between lines of three backtick - ` characters. You’ll have a line of ```, then your code, then another line of ```.)

@Rufus Thanks for your reply. actually restart the vs code did the trick.

Thanks a lot @KenWhitesell . i restarted the vs code and it is working now.