Beispiel #1
0
 def handle(self, *args, **options):
     if options.get('force'):
         print "Forcing update..."
     import_courses(
         force=options.get('force'),
         all=options.get('all')
     )
Beispiel #2
0
 def handle(self, *args, **options):
     if options.get('force'):
         print "Forcing update..."
     import_courses(
         force=options.get('force'),
         all=options.get('all'),
         catalog=not options.get('no_catalog'),
     )
 def handle(self, *args, **options):
     if options.get('force'):
         print "Forcing update..."
     #with transaction.commit_on_success():
     #    import_courses(force=options.get('force', False))
     import_courses(
         force=options.get('force'),
         all=options.get('all')
     )
Beispiel #4
0
 def handle(self, *args, **options):
     if options.get('force'):
         print "Forcing update..."
     #with transaction.commit_on_success():
     #    import_courses(force=options.get('force', False))
     import_courses(force=options.get('force'), all=options.get('all'))