cfpb / idea-box

An application that lets an organization collect ideas, comment on them, and vote them up.
Creative Commons Zero v1.0 Universal
159 stars 49 forks source link

ImportError: No module named fields #97

Closed melbalewis closed 7 years ago

bobbyharsono commented 7 years ago

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

robsonoliv commented 7 years ago

Is there a solution for this issue?

Scotchester commented 7 years ago

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?

Scotchester commented 7 years ago

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.