From 128b372012b340cf32099e0414008feca3958a27 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Thu, 13 Jan 2022 11:30:33 +0900 Subject: [PATCH] Move create_member command to members --- backend/members/management/__init__.py | 0 backend/members/management/commands/__init__.py | 0 .../{roles => members}/management/commands/create_member.py | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 backend/members/management/__init__.py create mode 100644 backend/members/management/commands/__init__.py rename backend/{roles => members}/management/commands/create_member.py (95%) diff --git a/backend/members/management/__init__.py b/backend/members/management/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/members/management/commands/__init__.py b/backend/members/management/commands/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/roles/management/commands/create_member.py b/backend/members/management/commands/create_member.py similarity index 95% rename from backend/roles/management/commands/create_member.py rename to backend/members/management/commands/create_member.py index d8158e92..a01b047e 100644 --- a/backend/roles/management/commands/create_member.py +++ b/backend/members/management/commands/create_member.py @@ -2,8 +2,8 @@ from django.core.management.base import BaseCommand, CommandError from django.contrib.auth.models import User from api.models import Project -from ...models import Role -from backend.members.models import Member +from roles.models import Role +from ...models import Member class Command(BaseCommand):