Ejemplo n.º 1
0
 def __init__(self, **options):
     self.verbosity = int(options.get('verbosity', 1))
     self.readonly = options.get('readonly', False)
     self.crontab_lines = []
     if hasattr(options, 'settings'):
         self.settings = Settings(options['settings'])
     else:
         self.settings = Settings(django_settings)
Ejemplo n.º 2
0
 def __init__(self, **options):
     self.verbosity = int(options.get('verbosity', 1))
     self.readonly = options.get('readonly', False)
     self.crontab_lines = []
     self.settings = Settings(settings)