Skip to content
Snippets Groups Projects
Commit bc30420a authored by Alexander Pace's avatar Alexander Pace
Browse files

fixed migration

parent a23a8bfc
No related branches found
No related tags found
No related merge requests found
Pipeline #446248 passed
......@@ -81,7 +81,7 @@ def add_permissions(apps, schema_editor):
# Robot users should have been already created by ligoauth 0003,
# but we have to create human user accounts here
user = User.objects.get(username=username)
user, _ = User.objects.get_or_create(username=username)
# Create UserObjectPermission
uop, uop_created = UserObjectPermission.objects.get_or_create(
......@@ -96,6 +96,7 @@ class Migration(migrations.Migration):
dependencies = [
('ligoauth', '0079_add_rapidpe'),
('guardian', '0016_emfollow_upload_mly'),
]
operations = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment