github coleifer/peewee 2.6.0

latest releases: 3.14.10, 3.14.9, 3.14.8...
9 years ago

This is a tiny update, mainly consisting of a new-and-improved implementation of get_or_create() (docs).

Backwards-incompatible changes

  • get_or_create() now returns a 2-tuple consisting of the model instance and a boolean indicating whether the instance was created. The function now behaves just like the Django equivalent.

New features

  • #574, better support for setting the character encoding on Postgresql database connections. Thanks @klen!
  • Improved implementation of get_or_create().

View commits

Don't miss a new peewee release

NewReleases is sending notifications on new releases.