[Django]-Django – Can't import app names – Unresolved Reference

3👍

You probably want to use import Api – the same way you just have Api in INSTALLED_APPS instead of ProductSpyWeb.Api.

Assuming that you aren’t doing anything strange with your Python path, when you use from ProductSpyWeb import Api from the Django shell it’s trying to import from ProductSpyProject/ProductSpyWeb/ProductSpyWeb/Api.

👤Kevin

Leave a comment