Fix typo from models refactor

Looks like this got caught up when moving to importing `models`
instead of the individual models, and was throwing an error on
`./bw-dev initdb`
This commit is contained in:
Joel Bradshaw 2022-01-23 23:41:22 -08:00 committed by GitHub
parent a74f907a61
commit 7373fb4132
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"],