Merge pull request #1866 from cincodenada/patch-3

Fix typo from models refactor
This commit is contained in:
Mouse Reeve 2022-01-24 07:25:19 -08:00 committed by GitHub
commit a651352b8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ def init_permissions():
},
]
content_type = models.ContentType.objects.get_for_model(User)
content_type = ContentType.objects.get_for_model(models.User)
for permission in permissions:
permission_obj = Permission.objects.create(
codename=permission["codename"],