coleifer/peewee — pull request #180 by tax (2013-04-05 10:49:16+00:00)
Title: Only use valid kwargs for update and insert

Hi Charles, thanks for creating this excellent lightweight project, it is super simple and fun to work with.

I ran in to a problem in a project when passing on a dict to the update query of a model this raised a KeyError because one of the keys in the dict was not a field in the model.
This could be by design, if not I hope you will merge this pull request.

Again thanks for all the hard work on this project.