-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Model converter behavior change #2376
Comments
Thanks for the succinct report and isolating the problematic changeset. No, this was a regression that I didn't foresee. I've patched this and will issue a new release. |
coleifer
added a commit
that referenced
this issue
Mar 19, 2021
This is fixed and I've tagged a new version 3.14.4, which contains the fix and additional tests. |
@coleifer Thank you for such quick response and fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
While updating peewee from 3.13.3 to 3.14.3 I noticed model converter behavior change.
If model has str method defined, it is used to represent this model's value in the expression instead of primary key:
Output:
The change was introduced in this commit: ebe3ad5
I'm wondering is this behavior is intentional.
Thanks.
The text was updated successfully, but these errors were encountered: