cfpb / idea-box

An application that lets an organization collect ideas, comment on them, and vote them up.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: No module named fields

melbalewis opened this issue · comments

ImportError: No module named fields

I stumbled upon same problem, when executing
python ./manage.py syncdb --noinput --migrate

  • Already installed dependencies using pip
  • Already changed django-tagging to version 0.3.6

Is there a solution for this issue?

I was able to get set up and get through the initial python ./manage.py syncdb --noinput --migrate step by following the recommendations in this comment to request specific versions of django-mppt and south in the requirements file.

I apologize that we didn't follow through with updating that file. I will open a PR for it right now.

That said, I never encountered the error given in the title of this issue. The one that I got after trying to migrate, before updating the requirements, was AttributeError: type object 'Manager' has no attribute 'from_queryset'.

Can anyone confirm where in the process they received the ImportError: No module named fields error?

Ohhh, I think I figured it out. I had also updated this line in the settings to use core.taggit, instead of generic taggit. If I go back to generic taggit, I get the error on importing fields.

Changing to core.taggit should get you past the error.