Package madrona :: Package features :: Package management :: Package commands :: Module enable_sharing :: Class Command
[hide private]

Class Command

source code

                             object --+    
                                      |    
django.core.management.base.BaseCommand --+
                                          |
                                         Command

Instance Methods [hide private]
 
handle(self, *groupnames, **options)
The actual logic of the command.
source code

Inherited from django.core.management.base.BaseCommand: __init__, create_parser, execute, get_version, print_help, run_from_argv, usage, validate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  help = "Configures the permissions to allow sharing between gr...
  args = '[Group names to grant sharing permissions to ...]'
  option_list = BaseCommand.option_list+(make_option('-a', '--al...

Inherited from django.core.management.base.BaseCommand: can_import_settings, output_transaction, requires_model_validation

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

handle(self, *groupnames, **options)

source code 

The actual logic of the command. Subclasses must implement this method.

Overrides: django.core.management.base.BaseCommand.handle
(inherited documentation)

Class Variable Details [hide private]

help

Value:
"Configures the permissions to allow sharing between groups"

option_list

Value:
BaseCommand.option_list+(make_option('-a', '--all', action= 'store_tru\
e', dest= 'all', help= "Enable sharing for ALL current groups"),)