Example #1
0
 def handle(self, *args, **options):
     if options.get('force'):
         print "Forcing update..."
     import_courses(
         force=options.get('force'),
         all=options.get('all')
     )
Example #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'),
     )
Example #3
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')
     )
Example #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'))