Exemplo n.º 1
0
 def handle(self, *args, **options):
     try:
         data_path = args[0]
     except IndexError:
         raise CommandError("Invalid parameters given: missing data path.")
     importer = Importer()
     importer.do_database_import(data_path)
Exemplo n.º 2
0
 def handle(self, *args, **options):
     importer = Importer()
     importer.do_solr_import()
 def handle(self, *args, **options):
     importer = Importer()
     importer.do_solr_import()