Skip to content

2.6.0

Choose a tag to compare

@coleifer coleifer released this 22 Apr 00:34
· 3525 commits to master since this release

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