aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/6-resource-orientated-projects.md
diff options
context:
space:
mode:
authorTom Christie2012-10-03 01:32:14 -0700
committerTom Christie2012-10-03 01:32:14 -0700
commit637bfa0f8f4f5be4b877109bd744aa66718ececc (patch)
tree20c5529cf2c2b3061d35d44bb3d52c8646ded5f0 /docs/tutorial/6-resource-orientated-projects.md
parentb89125ef53a2f9e246afd5eda5c8f404a714da76 (diff)
parent934492ebd02dfc580fd0dbd9d8a57ca123adb46d (diff)
downloaddjango-rest-framework-637bfa0f8f4f5be4b877109bd744aa66718ececc.tar.bz2
Merge pull request #276 from mattbo/restframework2
Fixed references to serializer.serialized and serializer.serialized_erro...
Diffstat (limited to 'docs/tutorial/6-resource-orientated-projects.md')
-rw-r--r--docs/tutorial/6-resource-orientated-projects.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorial/6-resource-orientated-projects.md b/docs/tutorial/6-resource-orientated-projects.md
index 3c3e7fed..e7190a77 100644
--- a/docs/tutorial/6-resource-orientated-projects.md
+++ b/docs/tutorial/6-resource-orientated-projects.md
@@ -4,8 +4,8 @@ Resource classes are just View classes that don't have any handler methods bound
This allows us to:
-* Encapsulate common behaviour accross a class of views, in a single Resource class.
-* Seperate out the actions of a Resource from the specfics of how those actions should be bound to a particular set of URLs.
+* Encapsulate common behaviour across a class of views, in a single Resource class.
+* Separate out the actions of a Resource from the specfics of how those actions should be bound to a particular set of URLs.
## Refactoring to use Resources, not Views
@@ -59,7 +59,7 @@ Right now that hasn't really saved us a lot of code. However, now that we're us
## Trade-offs between views vs resources.
-Writing resource-orientated code can be a good thing. It helps ensure that URL conventions will be consistent across your APIs, and minimises the amount of code you need to write.
+Writing resource-oriented code can be a good thing. It helps ensure that URL conventions will be consistent across your APIs, and minimises the amount of code you need to write.
The trade-off is that the behaviour is less explict. It can be more difficult to determine what code path is being followed, or where to override some behaviour.