websauna.system.form.editmode module

Describe different form edit modes.

class websauna.system.form.editmode.EditMode[source]

Bases: enum.Enum

Different edit modes for where a form can be.

add = 1

Generated form for creating a new object

edit = 2

Generated form for editing an existing object

show = 0

Generate form for viewing contents (read-only)