aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/routers.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/routers.py')
-rw-r--r--rest_framework/routers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/routers.py b/rest_framework/routers.py
index ae64cc3b..c222f504 100644
--- a/rest_framework/routers.py
+++ b/rest_framework/routers.py
@@ -117,7 +117,7 @@ class SimpleRouter(BaseRouter):
if model_cls is None and queryset is not None:
model_cls = queryset.model
- assert model_cls, '`name` not argument not specified, and could ' \
+ assert model_cls, '`base_name` argument not specified, and could ' \
'not automatically determine the name from the viewset, as ' \
'it does not have a `.model` or `.queryset` attribute.'