Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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'

like image 978
bitit1994 Avatar asked Aug 06 '16 01:08

bitit1994


1 Answers

You need to install django-model-utils:

pip install django-model-utils

(documentation)

like image 150
rafalmp Avatar answered Nov 18 '22 02:11

rafalmp