vittoriozamboni / django-groups-manager

Manage django groups collection based on django-mptt.
MIT License
100 stars 23 forks source link

ModuleNotFoundError: No module named 'jsonfield' error when running "python manage.py syncdb or migrate" #62

Closed dw-liedji closed 2 years ago

dw-liedji commented 2 years ago

I have configure the library as indicated in the documentation. But having the following error:

ModuleNotFoundError: No module named 'jsonfield'

He are my settings:

INSTALLED_APPS += (
    'guardian',  # installed 
    'groups_manager', # also installed
)
vittoriozamboni commented 2 years ago

Hi @dw-liedji , you need to install jsonfield as well (pip install jsonfield).

dw-liedji commented 2 years ago

Hi @vittoriozamboni , thank your for your anwer. It is now working. However, I think this should by mentioned in the documentation.

vittoriozamboni commented 2 years ago

Hi @dw-liedji, glad it's working. It is actually in the Requirements block (the last row).