AKModel.views.event_wizard module
- class AKModel.views.event_wizard.NewEventWizardStartView(**kwargs)[source]
Bases:
AdminViewMixin
,WizardViewMixin
,CreateView
Wizard view: Entry/Start
Specify basic settings, especially the timezone for correct time treatment in the next view (
NewEventWizardSettingsView
) where this view will redirect to without saving the new event already- form_class
alias of
NewEventWizardStartForm
- class AKModel.views.event_wizard.NewEventWizardSettingsView(**kwargs)[source]
Bases:
AdminViewMixin
,WizardViewMixin
,CreateView
Wizard view: Event settings
Specify most of the event settings. The user will see that certain fields are required since they were lead here from another form in
NewEventWizardStartView
that did not contain these fields even though they are mandatory for the event modelNext step will then be
NewEventWizardPrepareImportView
to prepare copy configuration elements from an existing event- form_class
alias of
NewEventWizardSettingsForm
- class AKModel.views.event_wizard.NewEventWizardPrepareImportView(**kwargs)[source]
Bases:
WizardViewMixin
,EventSlugMixin
,FormView
Wizard view: Choose event to copy configuration elements from
The user can here select an existing event to copy elements like requirements, categories and dashboard buttons from The exact subset of elements to copy from can then be selected in the next view (
NewEventWizardImportView
)Instead, this step can be skipped by directly continuing with
NewEventWizardActivateView
- form_class
alias of
NewEventWizardPrepareImportForm
- class AKModel.views.event_wizard.NewEventWizardImportView(**kwargs)[source]
Bases:
EventSlugMixin
,WizardViewMixin
,FormView
Wizard view: Select configuration elements to copy
Displays lists of requirements, categories and dashboard buttons that the user can select entries to be copied from
Afterwards, the event can be activated in
NewEventWizardActivateView
- form_class
alias of
NewEventWizardImportForm
- class AKModel.views.event_wizard.NewEventWizardActivateView(**kwargs)[source]
Bases:
WizardViewMixin
,UpdateView
Wizard view: Allow activating the event
The user is asked to make the created event active. This is done in this step and not already during the creation in the second step of the wizard to prevent users seeing an unconfigured submission. The event will nevertheless already be visible in the dashboard before, when a public event was created in
NewEventWizardSettingsView
.In the following last step (
NewEventWizardFinishView
), a confirmation of the full process and some details of the created event are shown- form_class
alias of
NewEventWizardActivateForm
- class AKModel.views.event_wizard.NewEventWizardFinishView(**kwargs)[source]
Bases:
WizardViewMixin
,DetailView
Wizard view: Confirmation and summary
Show a confirmation and a summary of the created event