AKPreference.views module

class AKPreference.views.PreferencePollCreateView(**kwargs)[source]

Bases: EventSlugMixin, SuccessMessageMixin, FormView

View: Show a form to register the AK preference of a participant.

The form creates the EventParticipant instance as well as the AKPreferences for each AK of the event.

For the creation of the event participant, a EventParticipantForm is used. For the preferences, a ModelFormset is created.

model

alias of AKPreference