forked from mirrors/bookwyrm
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:
parent
a74f907a61
commit
7373fb4132
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