def main(args): args = _parse_args(args) if args.verbose: logging.basicConfig(level=logging.DEBUG) # Add Managers if args.managers: from managers.fill import fill_managers fill_managers(verbose=args.verbose) # Add Requests if args.requests: from managers.fill import fill_requests fill_requests(verbose=args.verbose) if args.workshift and "workshift" in settings.INSTALLED_APPS: from workshift.fill import fill_regular_shifts, fill_humor_shifts, \ fill_social_shifts fill_regular_shifts() fill_humor_shifts() fill_social_shifts()
def save(self): from workshift.fill import fill_regular_shifts return fill_regular_shifts(semester=self.semester)
def save(self): from workshift.fill import fill_regular_shifts fill_regular_shifts(semester=self.semester)