varad
varad

Reputation: 8029

django filer no module named fields.image error

I have this problem. I have installed filer and when I import only filer its fine import filer It is importing but when I do from filer.fields.image import FilerImageField

It is not importing and gives error no module named fields.image

What is the problem? I have gone through the documentation and it gives the same way of importing.

Upvotes: 0

Views: 932

Answers (1)

aumo
aumo

Reputation: 5554

You most likely have a Python file called filer.py or a Python module (folder containing a __init__.py file) called filer in your current directory (or somewhere in your PYTHON_PATH) which shadows the filer package you installed.

You need to remove or rename that file/module in order to be able to use the filer package.

Upvotes: 2

Related Questions