Breaking Changes
- The timezone is now always included with
fields.DateTimeString
and defaults to UTC with native datetime objects. (Thanks @albertodonato)
Features
- The
sort_attribute
meta class attribute of a resource can be used to change the default pagination sort order, which otherwise isid_attribute
ascending. Descending order is supported. (Thanks @albertodonato and @luord)
class SpamResource(Resource):
class Meta:
model = Spam
sort_attribute = 'name', True
Bugfixes
- Fix
field.Object(pattern_properties={})
pattern definition - Fix JSONSchema of patchable fields. (Thanks @bjornt)