vittoriozamboni / django-groups-manager

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

Runtime Error when installing with Docker Compose #35

Closed cloudeeo closed 5 years ago

cloudeeo commented 5 years ago

I am trying to use this app with a Django deployment under Docker compose (DB + web app). After installing the app I get this error message

RuntimeError: Model class guardian.models.UserObjectPermission doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

The app is installed and listed in INSTALLED_APPS, what am I missing?

thank you! Claudio

cloudeeo commented 5 years ago

Actually I found the problem. You need to add "guardian" to INSTALLED_APPS.

mazulo commented 4 years ago

I got the exact same error and figured this out. I think it should be added to the docs

vittoriozamboni commented 4 years ago

Hi! Thank you for the contributon an sorry for the delay. I will add it to the documentation.