Skip to content

Handle multiple state fields #74

@blueyed

Description

@blueyed

Currently the field keyword argument in the signal handler is not being handled.

Therefore, if multiple state fields (e.g. "state" and "second_state") are being used those cannot be easily distinguished in the logs.

Do you think it makes sense to add "field_name" to StateLog, where kwargs['field'].name would be stored into?

This could also be used in __str__ then, but is typically redundant then (since often only a single state field is used probably).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions