Project

General

Profile

« Previous | Next » 

Revision 5f372104

Added by Jérôme Schneider over 12 years ago

Agenda: add appointments management

  • agenda/appointments.py: add a class to display appointments * agenda/managers.py: add serives maangement to OccurtenceManager * agenda/views.py: small fix * personnes/models.py: cosmetic

View differences:

calebasse/agenda/views.py
31 31
            context['workers_agenda'].append({'worker': worker,
32 32
                    'agenda': Occurrence.objects.daily_occurrences(context['date'], [worker])})
33 33

  
34
        context['disponnibility'] = Occurrence.objects.daily_disponiblity(context['date'], context['workers'])
34
        context['disponnibility'] = Occurrence.objects.daily_disponiblity(context['date'], workers)
35 35
        return context

Also available in: Unified diff