mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 16:40:36 +00:00
Merge pull request #1866 from cincodenada/patch-3
Fix typo from models refactor
This commit is contained in:
commit
a651352b8b
1 changed files with 1 additions and 1 deletions
|
@ -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"],
|
||||
|
|
Loading…
Reference in a new issue