You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use = to set a ForeignKeyField and call save() method, but it doesn't take effect.
When I read the source code in peewee.py, I found that ForeignKeyAccessor.__set__() seems not to update the instance._dirty . This leads to a failure to update ForeignKeyField by calling save() method.
Please fix it, if it is a bug.
The text was updated successfully, but these errors were encountered:
I use
=
to set aForeignKeyField
and callsave()
method, but it doesn't take effect.When I read the source code in peewee.py, I found that
ForeignKeyAccessor.__set__()
seems not to update theinstance._dirty
. This leads to a failure to updateForeignKeyField
by callingsave()
method.Please fix it, if it is a bug.
The text was updated successfully, but these errors were encountered: