Project

General

Profile

« Previous | Next » 

Revision 9ca08421

Added by Jérôme Schneider about 11 years ago

agenda: required periodicity when editing a recurrence

View differences:

calebasse/agenda/views.py
24 24
from calebasse import cbv
25 25

  
26 26
from calebasse.agenda.forms import (NewAppointmentForm, NewEventForm, UpdatePeriodicAppointmentForm,
27
        DisablePatientAppointmentForm, UpdateAppointmentForm,
27
        DisablePatientAppointmentForm, UpdateAppointmentForm, UpdatePeriodicEventForm, 
28 28
        UpdateEventForm, PeriodicEventsSearchForm)
29 29

  
30 30
logger = logging.getLogger(__name__)
......
267 267

  
268 268

  
269 269
class UpdatePeriodicEventView(BaseEventView):
270
    form_class = NewEventForm
270
    form_class = UpdatePeriodicEventForm
271 271
    template_name = 'agenda/new-event.html'
272 272

  
273 273

  

Also available in: Unified diff