AKOnline.forms module
- class AKOnline.forms.VirtualRoomForm(*args, **kwargs)[source]
Bases:
ModelFormForm to create a virtual room
Should be used as part of a multi form (see
RoomWithVirtualFormbelow)Form fields:
url: URL (URLField)
- class AKOnline.forms.RoomWithVirtualForm(*args, **kwargs)[source]
Bases:
MultiModelFormCombined form to create rooms and optionally virtual rooms
Multi-Form that combines a
RoomForm(from AKModel) and aVirtualRoomForm(see above).The form will always create a room on valid input and may additionally create a virtual room if the url field of the virtual room form part is set.