Remove "api." prefix for default route names, in API master views
This commit is contained in:
parent
0483f47b26
commit
11cc9a752a
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue