Revision a6d167c1 snf-astakos-app/astakos/im/management/commands/project-modify.py

b/snf-astakos-app/astakos/im/management/commands/project-modify.py
34 34
from optparse import make_option
35 35

  
36 36
from django.db.models import Q
37
from django.core.management.base import BaseCommand, CommandError
37
from snf_django.management.commands import SynnefoCommand, CommandError
38 38
from django.db import transaction
39 39
from synnefo.util import units
40 40
from astakos.im import functions
......
112 112
    return tuple(options)
113 113

  
114 114

  
115
class Command(BaseCommand):
115
class Command(SynnefoCommand):
116 116
    args = "<project id> (or --all-base-projects)"
117 117
    help = "Modify an already initialized project"
118
    option_list = BaseCommand.option_list + make_options() + (
118
    option_list = SynnefoCommand.option_list + make_options() + (
119 119
        make_option('--all-base-projects',
120 120
                    action='store_true',
121 121
                    default=False,

Also available in: Unified diff