From 1cdb9d6df3a2eff725831c3479ac164e0f5f48f3 Mon Sep 17 00:00:00 2001 From: Davide Allavena Date: Mon, 31 May 2021 14:26:50 +0200 Subject: [PATCH] isort strikes again --- backend/api/management/commands/create_role_mapping.py | 3 ++- backend/api/management/commands/create_roles.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/api/management/commands/create_role_mapping.py b/backend/api/management/commands/create_role_mapping.py index e8f27664..9ebdfcf7 100644 --- a/backend/api/management/commands/create_role_mapping.py +++ b/backend/api/management/commands/create_role_mapping.py @@ -1,6 +1,7 @@ -from api.models import Project, Role, RoleMapping, User from django.core.management.base import BaseCommand, CommandError +from api.models import Project, Role, RoleMapping, User + class Command(BaseCommand): help = 'Non-interactively create a rolemapping' diff --git a/backend/api/management/commands/create_roles.py b/backend/api/management/commands/create_roles.py index c045954f..6bff2efa 100644 --- a/backend/api/management/commands/create_roles.py +++ b/backend/api/management/commands/create_roles.py @@ -1,8 +1,9 @@ -from api.models import Role from django.conf import settings from django.core.management.base import BaseCommand from django.db import DatabaseError +from api.models import Role + class Command(BaseCommand): help = 'Non-interactively create default roles'