def create_default_groups(self):
        for group in self.groups:
            group = group.replace(" ", "_").lower()
            self[group] = NamedRequirements(group)
def _nearest_weekday(weekday):
    return datetime.now() + timedelta(days=(weekday - datetime.now().weekday()) % 7)