From 309c138b33e5eb2e183552ad376e5ed48a0d50ac Mon Sep 17 00:00:00 2001 From: sol HYUN Date: Thu, 23 Mar 2017 18:01:38 +0900 Subject: [PATCH] Modify arguments to get_link --- rest_framework/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/schemas.py b/rest_framework/schemas.py index b6ce371b6..43aa1c34e 100644 --- a/rest_framework/schemas.py +++ b/rest_framework/schemas.py @@ -328,7 +328,7 @@ class SchemaGenerator(object): continue link = self.get_link(path, method, view) typical_path = self.make_typical_path(path) - keys = self.get_keys(subpath, method, view) + keys = self.get_keys(typical_path, method, view) insert_into(links, keys, link) return links