aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2014-08-20 17:16:47 +0100
committerTom Christie2014-08-20 17:16:47 +0100
commit6953a5ecec56d5eaffceef817316a742dcc2220c (patch)
treeb32ab213337aa4a69cff6bd08e608f6a0c347077
parent59b47eac14778767a17e56bd8adc0610417f2878 (diff)
downloaddjango-rest-framework-6953a5ecec56d5eaffceef817316a742dcc2220c.tar.bz2
Typo
-rw-r--r--docs/topics/2.4-accouncement.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/2.4-accouncement.md b/docs/topics/2.4-accouncement.md
index e3f9d57a..64dcca61 100644
--- a/docs/topics/2.4-accouncement.md
+++ b/docs/topics/2.4-accouncement.md
@@ -65,7 +65,7 @@ Note: The test case and test method matching is fuzzy and will sometimes run oth
The `@action` and `@link` decorators were inflexible in that they only allowed additional routes to be added against instance style URLs, not against list style URLs.
-The `@action` and `@link` decorators have now been moved to pending deprecation, and the `@list_route` and `@detail_route` decroators have been introduced.
+The `@action` and `@link` decorators have now been moved to pending deprecation, and the `@list_route` and `@detail_route` decorators have been introduced.
Here's an example of using the new decorators. Firstly we have a detail-type route named "set_password" that acts on a single instance, and takes a `pk` argument in the URL. Secondly we have a list-type route named "recent_users" that acts on a queryset, and does not take any arguments in the URL.