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

b/snf-astakos-app/astakos/im/management/commands/authpolicy-add.py
35 35

  
36 36
from optparse import make_option
37 37

  
38
from django.core.management.base import BaseCommand, CommandError
38
from snf_django.management.commands import SynnefoCommand, CommandError
39 39

  
40 40
from astakos.im.models import AuthProviderPolicyProfile as Profile
41 41

  
42
option_list = list(BaseCommand.option_list) + [
42
option_list = list(SynnefoCommand.option_list) + [
43 43
    make_option('--update',
44 44
                action='store_true',
45 45
                dest='update',
......
68 68
                                   help="%s policy" % p.title()))
69 69

  
70 70

  
71
class Command(BaseCommand):
71
class Command(SynnefoCommand):
72 72
    args = "<name> <provider_name>"
73 73
    help = "Create a new authentication provider policy profile"
74 74
    option_list = option_list

Also available in: Unified diff