AKScheduling.views module

class AKScheduling.views.UnscheduledSlotsAdminView(**kwargs)[source]

Bases: AdminViewMixin, FilterByEventSlugMixin, ListView

Admin view: Get a list of all unscheduled slots

model

alias of AKSlot

class AKScheduling.views.SchedulingAdminView(**kwargs)[source]

Bases: AdminViewMixin, FilterByEventSlugMixin, ListView

Admin view: Scheduler

View and adapt the schedule of an event. This view heavily uses JavaScript to display a calendar view plus a list of unscheduled slots and to allow dragging slots in and into the calendar

model

alias of AKSlot

class AKScheduling.views.TrackAdminView(**kwargs)[source]

Bases: AdminViewMixin, FilterByEventSlugMixin, ListView

Admin view: Distribute AKs to tracks

Again using JavaScript, the user can here see a list of all AKs split-up by tracks and can move them to other or even new tracks using drag and drop. The state is then automatically synchronized via API calls in the background

model

alias of AKTrack

class AKScheduling.views.ConstraintViolationsAdminView(**kwargs)[source]

Bases: AdminViewMixin, DetailView

Admin view: Inspect and adjust all constraint violations of the event

This view populates a table of constraint violations via background API call (JavaScript), offers the option to see details or edit each of them and provides an auto-reload feature.

model

alias of Event

class AKScheduling.views.SpecialAttentionAKsAdminView(**kwargs)[source]

Bases: AdminViewMixin, DetailView

Admin view: List all AKs that require special attention via scheduling, e.g., because of free-form comments, since there are slots even though it is a wish, or no slots even though it is an AK etc.

model

alias of Event

class AKScheduling.views.InterestEnteringAdminView(**kwargs)[source]

Bases: SuccessMessageMixin, AdminViewMixin, EventSlugMixin, UpdateView

Admin view: Form view to quickly store information about the interest in an AK (e.g., during presentation of the AK list)

The view offers a field to update interest and manually set a comment for the current AK, but also features links to the AKs before and probably coming up next, as well as links to other AKs sorted by category, for quick and hazzle-free navigation during the AK presentation

model

alias of AK

form_class

alias of AKInterestForm

class AKScheduling.views.WishSlotCleanupView(**kwargs)[source]

Bases: EventSlugMixin, IntermediateAdminView

Admin action view: Allow to delete all unscheduled slots for wishes

The view will render a preview of all slots that are affected by this. It is not possible to manually choose which slots should be deleted (either all or none) and the functionality will therefore delete slots that were created in the time between rendering of the preview and running the action ofter confirmation as well.

Due to the automated slot cleanup functionality for wishes in the AKSubmission app, this functionality should be rarely needed/used

class AKScheduling.views.AvailabilityAutocreateView(**kwargs)[source]

Bases: EventSlugMixin, IntermediateAdminView

Admin action view: Allow to automatically create default availabilities (event start to end) for all AKs without any manually specified availability information

The view will render a preview of all AKs that are affected by this. It is not possible to manually choose which AKs should be affected (either all or none) and the functionality will therefore create availability entries for AKs that were created in the time between rendering of the preview and running the action ofter confirmation as well.

class AKScheduling.views.CVWidget[source]

Bases: TemplateStatusWidget

Status page widget: Constraint violations