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

b/snf-astakos-app/astakos/im/management/commands/user-modify.py
38 38

  
39 39
from django.core import management
40 40
from django.db import transaction
41
from django.core.management.base import BaseCommand, CommandError
41
from snf_django.management.commands import SynnefoCommand, CommandError
42 42
from django.contrib.auth.models import Group
43 43
from django.core.exceptions import ValidationError
44 44
from django.core.validators import validate_email
......
50 50
activation_backend = activation_backends.get_backend()
51 51

  
52 52

  
53
class Command(BaseCommand):
53
class Command(SynnefoCommand):
54 54
    args = "<user ID> (or --all)"
55 55
    help = "Modify a user's attributes"
56 56

  
57
    option_list = BaseCommand.option_list + (
57
    option_list = SynnefoCommand.option_list + (
58 58
        make_option('--all',
59 59
                    action='store_true',
60 60
                    default=False,

Also available in: Unified diff