Browse Source

isort strikes again

pull/1384/head
Davide Allavena 3 years ago
parent
commit
1cdb9d6df3
2 changed files with 4 additions and 2 deletions
  1. 3
      backend/api/management/commands/create_role_mapping.py
  2. 3
      backend/api/management/commands/create_roles.py

3
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'

3
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'

Loading…
Cancel
Save