kmmbvnr / django-guardian-ng

Per object permissions for Django
https://django-guardian.readthedocs.io/
Other
1 stars 0 forks source link

get_objects_for_group expects Group instance and raises error during the django migration #45

Closed kmmbvnr closed 5 months ago

kmmbvnr commented 5 months ago

Original issue: https://github.com/django-guardian/django-guardian/issues/751

kmmbvnr commented 5 months ago

Whereas smooth code that works in migration might seem interesting, those would be hard to test and maintain in the future

The issue could be resolved on the client side by using a separate data migration with direct model imports