Skip to content

ValueError: Cannot convert UUID('some_uuid') to Excel #24

Open
@yurabysaha

Description

@yurabysaha

I have a model with column UUID
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)

So when I use it as render class:

renderer_classes = (XLSXRenderer, )
I get:
ValueError: Cannot convert UUID('my_uuid') to Excel

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