[Django]-Why can't Fabric fabfile see Django settings?

0👍

What directory are you running fab from? conf won’t be recognized as a Python module unless /www/django/testfab/ is on the Python path. Running fab or python or ./manage.py from that directory will add it to the Python path during that command’s execution.

It’s also possible that conf.settings is raising it’s own ImportError.

Leave a comment