Example #1
0
  def handle(self, *args, **options):
    self.stdout.write('scanning data directories...')
    scan_data()

    #projects
    for project in Project.objects.filter(client__name='sdg'):
      print(project)
      project.process_grammars()
      project.process_transcriptions()
      # project.process_words()
      project.create_jobs()
      project.is_active = True
      project.save()
Example #2
0
 def handle(self, *args, **options):
   self.stdout.write('scanning data directories...')
   scan_data()