From 3ab0feebc53cde74be82592203614487807e5238 Mon Sep 17 00:00:00 2001 From: Erick Navarro Date: Wed, 31 Jan 2018 22:11:21 -0800 Subject: [PATCH] Fix typo in usage.md --- docs/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.md b/docs/usage.md index d9f0092a..7b0b6cc0 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -421,7 +421,7 @@ url( The `related_field` kwarg specifies which relationship to use, so if we are interested in the relationship represented by the related model field `Order.line_items` on the Order with pk 3, the url would be -`/order/3/relationships/line_items`. On `HyperlinkedModelSerializer`, the +`/orders/3/relationships/line_items`. On `HyperlinkedModelSerializer`, the `ResourceRelatedField` will construct the url based on the provided `self_link_view_name` keyword argument, which should match the `name=` provided in the urlconf, and will use the name of the field for the