Esempio n. 1
0
 def __init__(self, *args, **kwargs):
     self.option_list = self.base_option_list + self.option_list
     if django.VERSION < (1, 10):
         options = tuple([optparse_make_option(*_args, **_kwargs)
                          for _args, _kwargs in self.option_list])
         self.option_list = options + BaseCommand.option_list
     super(BaseDbBackupCommand, self).__init__(*args, **kwargs)
Esempio n. 2
0
 def __init__(self, *args, **kwargs):
     self.option_list = self.base_option_list + self.option_list
     if django.VERSION < (1, 10):
         options = tuple([
             optparse_make_option(*_args, **_kwargs)
             for _args, _kwargs in self.option_list
         ])
         self.option_list = options + BaseCommand.option_list
     super(BaseDbBackupCommand, self).__init__(*args, **kwargs)