Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0c587ac

Browse files
slivercn2ygk
authored andcommitted
Adjust invalid field_name_mapping example for related fieds (#756)
1 parent 9d42d9b commit 0c587ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎docs/usage.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,11 +682,10 @@ Also we can override `related_field` in the url. Let's say we want the url to be
682682
dict to the class:
683683
```python
684684
field_name_mapping = {
685-
'line_items': 'order_items'
685+
'order_items': 'line_items'
686686
}
687687
```
688688

689-
690689
### Working with polymorphic resources
691690

692691
Polymorphic resources allow you to use specialized subclasses without requiring

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /