Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast Footnote.uuid to string so previews work #24

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

jsma
Copy link
Contributor

@jsma jsma commented Feb 22, 2022

The keys in self.footnotes need to be strings in order for lookups to work, but before the Footnote is saved to the db, it is of type UUID.

Refs #23

The keys in ``self.footnotes`` need to be strings in order for lookups to work, but before the ``Footnote`` is saved to the db, it is of type ``UUID``.

Refs torchbox#23
@kevinhowbrook
Copy link
Contributor

Thanks @jsma

I've tested this locally and can confirm both the bug and the potential fix.

@zerolab zerolab merged commit 0686c05 into torchbox:master Jun 23, 2022
@jsma jsma deleted the fix-preview branch June 23, 2022 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants