From f8a1d38074c2da33db3d66f50eb9c54e318188e0 Mon Sep 17 00:00:00 2001 From: Mjumbe Wawatu Poe Date: Sat, 8 Sep 2012 16:31:36 -0400 Subject: [PATCH] Correct 'serializer' to 'resource' in the docs --- docs/tutorial/6-resource-orientated-projects.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tutorial/6-resource-orientated-projects.md b/docs/tutorial/6-resource-orientated-projects.md index db30f02b5..589039f8a 100644 --- a/docs/tutorial/6-resource-orientated-projects.md +++ b/docs/tutorial/6-resource-orientated-projects.md @@ -21,12 +21,12 @@ urls.py urlpatterns = api.urlpatterns -### Do you need a serializer at all? +### Do you need a resource at all? -In the preceding example, the `Serializer` classes don't define any custom values -(yet). As a result, the default model serializer will be provided. If you are -happy with the default serializer, you don't need to define a `Serializer` -object at all -- you can register the resource without providing a `Serializer` +In the preceding example, the `Resource` classes don't define any custom values +(yet). As a result, the default model resource will be provided. If you are +happy with the default resource, you don't need to define a `Resource` +object at all -- you can register the resource without providing a `Resource` description. The preceding example could be simplified to: from djangorestframework.routers import DefaultResourceRouter