dulacp / django-accounting

Accounting pluggable app for Django 1.7+ projects
MIT License
220 stars 100 forks source link

No module named fields Error #4

Closed somesmart closed 6 years ago

somesmart commented 7 years ago

I am getting this error message on this line:

from django_select2.fields import (

from /usr/local/lib/python2.7/dist-packages/accounting/apps/people/forms.py in <module>

as you can see I am on python2.7 as well as django 1.8 so not sure if that's the issue.

Thanks!

somesmart commented 7 years ago

Same issue on django 1.11. Haven't tried on python 3 yet

dulacp commented 7 years ago

Thanks for the feedback, I'm looking into it!

somesmart commented 7 years ago

I played around with it some more and found that it was due to a change in django_select2. If you change your call to django_select2.forms.ModelSelect2MultipleWidget and django_select2.forms.ModelSelect2Widget

it should work.

dulacp commented 6 years ago

Back on this issue. I only tested the project on Python 3.3 and 3.4.

I wasn't able to reproduce your error, but thanks for mentioning it so that others can find it in the search engine.

Cheers

sathishscripts commented 6 years ago

Can you please retry again? I am facing the same problem agaub,

Can please give the django_select2 version

beltiras commented 6 years ago

I have this problem. Was installing from https://github.com/dulacp/Accountant