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