Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/k/n/kninfra-HEAD/kn/planning/views.py   kninfra(Download)
                        vacancy.assignee_id = _id(worker)
                vacancy.save()
    workers = list(Worker.all_in_pool(pool))
    for worker in workers:
        # XXX het is cooler de shift dichtstbijzijnd aan de vacancy te

src/k/n/kninfra-HEAD/kn/planning/forms.py   kninfra(Download)
            field = WorkerChoiceField(label='%s - %s' % (
                    vacancy.begin_time, vacancy.end_time),
                    choices=Worker.all_in_pool(pool),
                    sort_choices=True,
                    initial=vacancy.assignee_id,