Skip to content

Transaction.updatable_fields will force _update to raise a KeyError #30

@AndreiHondrari

Description

@AndreiHondrari

On this line:

return 'description'

a string is returned, which is being iterated over here:

for u in obj.updatable_fields():

but it should have been a tuple like the other models. I guess a missing comma will do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions