Revision a6d167c1 snf-astakos-app/astakos/im/management/commands/component-add.py

b/snf-astakos-app/astakos/im/management/commands/component-add.py
32 32
# or implied, of GRNET S.A.
33 33

  
34 34
from optparse import make_option
35
from django.core.management.base import BaseCommand, CommandError
35
from snf_django.management.commands import SynnefoCommand, CommandError
36 36
from astakos.im.models import Component
37 37

  
38 38

  
39
class Command(BaseCommand):
39
class Command(SynnefoCommand):
40 40
    args = "<name>"
41 41
    help = "Register a component"
42 42

  
43
    option_list = BaseCommand.option_list + (
43
    option_list = SynnefoCommand.option_list + (
44 44
        make_option('--ui-url',
45 45
                    dest='ui_url',
46 46
                    default=None,

Also available in: Unified diff