aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/relations.md
diff options
context:
space:
mode:
authorTom Christie2013-09-06 12:19:51 +0100
committerTom Christie2013-09-06 12:19:51 +0100
commit916d8ab37da2f0c4412507710649ba0f352f29bb (patch)
treec15b44aad3e42b5e4ea908e85d333ca54aada20e /docs/api-guide/relations.md
parentb47f1b0257e8688acb67ffd806efe0ffc2c1915b (diff)
downloaddjango-rest-framework-916d8ab37da2f0c4412507710649ba0f352f29bb.tar.bz2
Fix typo
Diffstat (limited to 'docs/api-guide/relations.md')
-rw-r--r--docs/api-guide/relations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/relations.md b/docs/api-guide/relations.md
index 15ba9a3a..5ec4b22f 100644
--- a/docs/api-guide/relations.md
+++ b/docs/api-guide/relations.md
@@ -421,7 +421,7 @@ For example, if all your object URLs used both a account and a slug in the the U
def get_object(self, queryset, view_name, view_args, view_kwargs):
account = view_kwargs['account']
slug = view_kwargs['slug']
- return queryset.get(account=account, slug=sug)
+ return queryset.get(account=account, slug=slug)
---