Skip to content

Conversation

jerel
Copy link
Member

@jerel jerel commented Apr 29, 2016

No description provided.

Leifur Halldor Asgeirsson and others added 30 commits January 22, 2016 11:57
Allow skipping of intermediate included models
…orm there

Fix regression on PY3 caused by unicode_literals
Return intermediate resources for leaf includes. Fixes #149
Support using get_serializer_class on view
Fixed get_resource_name in case of non-model backed serializer.
fixed get_root_meta for lists
Document usage of related fields and RelationshipView
…ethod-field

Support many=True on related serializer method fields.
#222)

* [#214] Add error messages tests.

* [#214] Extract formatting DRF errors.

* Add example view with custom handle_exception.

* Use HTTP 422 for validation error responses.

* Add full example of class-configured json api view.
…p names.

JSON_API_FORMAT_RELATION_NAME actually inflected the `type` instead.
The relation name is not changable at this time although if it woudl
be useful to someone it would be fine to implement it.
Closes #136.
Fixed naming that suggested settings were used to inflect relationship field names
* Added get_related_field_name method to RelationshipView

* Added docs about field_name_mapping
* Add top-level 'errors' object to non-JSON-API responses
* Allow configuring the exception handler to be used _only_
  in JSON API views or uniformly across all views
When setting `resource_name = None`, the related instance's resource
name is used in `relationships`, but `None` is used in `included`.

This is related to #94 and #124
@jerel jerel merged commit b9ccd9d into master Apr 29, 2016
@jsenecal
Copy link
Member

Yay :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.