hovel / imagestore

Django gallery solution.
BSD 3-Clause "New" or "Revised" License
164 stars 72 forks source link

ImportError: No module named importlib #68

Closed vishnusajev closed 6 years ago

vishnusajev commented 7 years ago

File "/home/vishnu/sarath/ev/local/lib/python2.7/site-packages/imagestore/models/bases/image.py", line 21, in from imagestore.utils import FilePathGenerator File "/home/vishnu/sarath/ev/local/lib/python2.7/site-packages/imagestore/utils.py", line 8, in from django.utils.importlib import import_module

From django 1.9 onwards django.utils.importlib has been removed now its been changed to from importlib import import_module. Please fix this, and by the way awesome package.

lampslave commented 7 years ago

Use code from this git repo, import was fixed long ago, see ca73f45cac8bcb39a3c779197b3bc2fb2ef50fff

krisavi commented 7 years ago

Ok, but how can I get it to work with imagestore from pip. When will the changes pushed to there?

lampslave commented 7 years ago

When imagestore will support django 1.8 and 1.11.

krisavi commented 7 years ago

It seems it supports 1.8 but not 1.9, tried also from the git clone and still not possible to migrate on 1.9, 1.10 nor 1.11.

lampslave commented 6 years ago

Release 3.0.0 on pypi. Feel free to report new bugs...