I'm getting this error every time I type python manage.py runserver in the root server of my Django app.
ImportError: No module named utils
I just added a new app to my project called 'utils' by running python manage.py startapp utils in the root directory of my project (/ecomstore/), and then moved it to the directory my book said to put it in.
Here's an overview of my project's directories, followed by my code:
ecomstore/
init.py
manage.py
settings.py
urls.py
views.py
wsgi.py
catalog.py/
init.py
admin.py
forms.py
models.py
tests.py
urls.py
views.py
static.py/
catalog.css
catalog.html
css.css
templates/
base.html
catalog/
catalog.html
index.html
tags/
utils/
init.py
models.py
tests.py
views.py
context_processors.py
The relevent code from my settings.py file is below:
INSTALLED_APPS = ('django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.sites','catalog','utils',# Uncomment the next line to enable the admin:'django.contrib.admin',# Uncomment the next line to enable admin documentation:# 'django.contrib.admindocs',
)
FWIW: I have also tried putting 'ecomstore.utils' under INSTALLED_APPS, and moving the utils directory to the root directory of my project. My book is called Beginning Django for Ecommerce and it's outdated. Thanks in advance for any help, I'm really stuck!