gregmuellegger / django-autofixture

Can create auto-generated test data.
BSD 3-Clause "New" or "Revised" License
462 stars 118 forks source link

django.utils.six -> six in latest version of django #112

Open sootak opened 4 years ago

sootak commented 4 years ago

It makes error "ModuleNotFoundError: No module named 'django.utils.six'" due to the update of django. django.utils.six module was removed and it should be replaced with just 'six'. This issue was arouse in two files: base.py and values.py

Johnz86 commented 4 years ago

I experienced the same issue.

  File "C:\GIT\backend\lib\site-packages\autofixture\__init__.py", line 4, in <module>
    from autofixture.base import AutoFixture
  File "C:\GIT\backend\lib\site-packages\autofixture\base.py", line 5, in <module>
    from django.utils.six import with_metaclass
ModuleNotFoundError: No module named 'django.utils.six'
mohammedilamine commented 4 years ago

I have fixed this issue by installing django 2.1.7 , but yes it still an issue with the library