forms.py

Contains the form for adding and editing appointments

Class and function definitions:

apps.appointment.forms.change_empty_choice(field, to_set)[source]

Change the empty choice (first entry) of a Select field

class apps.appointment.forms.AppointmentAddEditForm(*args, **kwargs)[source]

Bases: core.forms.BaseModelForm

Form class for adding/editing appointments