bitit1994
bitit1994

Reputation: 362

No module named 'model_utils'

I'm using Python 3.4.3 and django 1.9.8.

In my models.py, I have

from model_utils.managers import InheritanceManager

But this error occurs:

ImportError: No module named 'model_utils'

Upvotes: 8

Views: 18475

Answers (1)

rafalmp
rafalmp

Reputation: 4068

You need to install django-model-utils:

pip install django-model-utils

(documentation)

Upvotes: 23

Related Questions