Skip to content

Incase migrations create the same permission twice

zpg-hq2-h requested to merge django-upgrade into master

When upgrading from Django 2.0 to 3.2, Django decided to create the one or other permission with the exact same name but with a different content_type!

That's why we needed to ensure 'our' content_type is the one we want to get and not the duplicate from django!

Merge request reports

Loading