AKSolverInterface.views module

class AKSolverInterface.views.AKJSONExportView(**kwargs)[source]

Bases: EventSlugMixin, AdminViewMixin, FormView

View: Export all AK slots of this event in JSON format ordered by tracks

model

alias of Event

form_class

alias of JSONExportControlForm

produce_exceptions(form)[source]

Identify AKs that cannot be placed (no overlap between availabilities and default slots both in general and matching category). This will then adjust the form accordingly. :param form: form to adjust

class AKSolverInterface.views.AKScheduleJSONImportView(**kwargs)[source]

Bases: EventSlugMixin, IntermediateAdminView

View: Import an AK schedule from a json file that can be pasted into this view.

form_class

alias of JSONScheduleImportForm