ImportError: no module named location.models at the following line:
from location.models import Zipcode But there is a models.py, an __init__.py, and a Zipcode model in an installed app called location in my project.
Further, the module is easily imported in the python shell using the same command. What could be the problem here? Thanks for your ideas!