tags:

views:

76

answers:

2

When I run python manage.py shell I get an error about the last app I've added to INSTALLED_APPS, namely django_evolution, saying it's an undefined module. This is despite the fact that I've added the path to django_evolution to the system path. In fact right after this error I can run python and do an import on django_evolution and everything is fine. Why isn't django or python seeing this module when clearly it's been setup and even added to the path?

EDIT:

This only happens when running from iPython. When I run from the cmd prompt it works fine. Go figure.

A: 

You need to add it to your INSTALLED_APPS section of settings.py.

Simon
I did. It's precisely that line in settings.py that is failing. Sorry I miscommunicated that.
Rhubarb
A: 

Does your django_evolution have a init.py file in it? Also any folder containing django_evolution needs one.

TheLizardKing