Revision a6d167c1 snf-astakos-app/astakos/im/management/commands/component-remove.py
b/snf-astakos-app/astakos/im/management/commands/component-remove.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
from django.core.management.base import BaseCommand, CommandError
|
|
34 |
from snf_django.management.commands import SynnefoCommand, CommandError
|
|
35 | 35 |
from django.db import transaction |
36 | 36 |
from astakos.im.models import Component |
37 | 37 |
|
38 | 38 |
|
39 |
class Command(BaseCommand):
|
|
39 |
class Command(SynnefoCommand):
|
|
40 | 40 |
args = "<component ID or name>" |
41 | 41 |
help = "Remove a component along with its registered services" |
42 | 42 |
|
Also available in: Unified diff