Ejemplo n.º 1
0
    def handle(self, *args, **options):
        logging.basicConfig(level=logging.INFO)

        es_delete_cmd(options['index'][0])
Ejemplo n.º 2
0
    def handle(self, *args, **options):
        logging.basicConfig(level=logging.INFO)
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(args[0])