I\'m trying to run a populate script which I put together from the tango_with_django tutorial (https://github.com/leifos/tango_with_django/blob/master/tango_with_django_project/
It happened to me when I used django related import statement in a non-django module. i.e from index.views import view that did raise an error for me.
from index.views import view