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

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

  
36 36
from django.db import transaction
37
from django.core.management.base import BaseCommand, CommandError
37
from snf_django.management.commands import SynnefoCommand, CommandError
38 38
from astakos.im.functions import (terminate, suspend, unsuspend,
39 39
                                  reinstate, check_expiration,
40 40
                                  approve_application, deny_application)
41 41

  
42 42

  
43
class Command(BaseCommand):
43
class Command(SynnefoCommand):
44 44
    help = "Manage projects and applications"
45 45

  
46
    option_list = BaseCommand.option_list + (
46
    option_list = SynnefoCommand.option_list + (
47 47
        make_option('--approve',
48 48
                    dest='approve',
49 49
                    metavar='<application id>',

Also available in: Unified diff