From 11cc9a752a384ba27b94a48d23b7333098cb4f2c Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 3 Mar 2020 17:10:41 -0600 Subject: [PATCH] Remove "api." prefix for default route names, in API master views --- tailbone/api/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/api/master.py b/tailbone/api/master.py index 114efdc0..f215bee1 100644 --- a/tailbone/api/master.py +++ b/tailbone/api/master.py @@ -73,7 +73,7 @@ class APIMasterView(APIView): if prefix: return prefix model_name = cls.get_normalized_model_name() - return 'api.{}s'.format(model_name) + return '{}s'.format(model_name) @classmethod def get_permission_prefix(cls):