Add get_or_none, fix quoting sql keyword names in order_by queries
0.10.1
Features
- add
get_or_none(**kwargs)
method toQuerySet
andQuerysetProxy
. It is exact equivalent ofget(**kwargs)
but instead of raisingormar.NoMatch
exception if there is no db record matching the criteria,get_or_none
simply returnsNone
.
Fixes
- Fix dialect dependent quoting of column and table names in order_by clauses not working
properly in postgres.