From 7c6ca116c89d3dbddfa229bf83ad18ffd3bfa98c Mon Sep 17 00:00:00 2001 From: Oliver Sauder Date: Mon, 16 Dec 2019 21:23:54 +0400 Subject: [PATCH] Adjust invalid field_name_mapping example for related fieds --- docs/usage.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 52d73b98..fc6aa6ad 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -682,11 +682,10 @@ Also we can override `related_field` in the url. Let's say we want the url to be dict to the class: ```python field_name_mapping = { - 'line_items': 'order_items' + 'order_items': 'line_items' } ``` - ### Working with polymorphic resources Polymorphic resources allow you to use specialized subclasses without requiring