Skip to content

HistoryEventSerializer ​

Overview ​

One write to one row, named by the tracked model rather than the event model.

relation says how the written row belongs to the requested object's history:

  • self: the row is the requested object.
  • related: the row has a foreign key to the requested object.
  • state: the row records the requested object's workflow state. model and object_id name that record, which a client has no reason to show.

changes ​

id ​

model ​

object_id ​

recorded_at ​

relation ​

type ​

Source ​

server/vueda/history/serializers/actions.py:37