This repository was archived by the owner on Apr 29, 2025. It is now read-only.
Breaking Changes
- The timezone is now always included with
fields.DateTimeStringand defaults to UTC with native datetime objects. (Thanks @albertodonato)
Features
- The
sort_attributemeta class attribute of a resource can be used to change the default pagination sort order, which otherwise isid_attributeascending. 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)