aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/generic-views.md
diff options
context:
space:
mode:
authorCarlton Gibson2014-08-27 09:29:14 +0200
committerCarlton Gibson2014-08-27 09:29:14 +0200
commit0724c557b127a740dbed1bbca43714f48c5b9462 (patch)
tree604c342a42bb8b34f9377a1032c85af51462743f /docs/api-guide/generic-views.md
parentc29c75da280aee3fadc3a6d673caa64215b7c24b (diff)
parent19076510f4039aa6886854679e21352fffb5354f (diff)
downloaddjango-rest-framework-0724c557b127a740dbed1bbca43714f48c5b9462.tar.bz2
Merge pull request #1792 from lnhubbell/patch-1
Update generic-views.md
Diffstat (limited to 'docs/api-guide/generic-views.md')
-rwxr-xr-xdocs/api-guide/generic-views.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md
index e9efe709..48b77a6e 100755
--- a/docs/api-guide/generic-views.md
+++ b/docs/api-guide/generic-views.md
@@ -49,7 +49,7 @@ For more complex cases you might also want to override various methods on the vi
serializer = UserSerializer(queryset, many=True)
return Response(serializer.data)
-For very simple cases you might want to pass through any class attributes using the `.as_view()` method. For example, your URLconf might include something the following entry.
+For very simple cases you might want to pass through any class attributes using the `.as_view()` method. For example, your URLconf might include something like the following entry:
url(r'^/users/', ListCreateAPIView.as_view(model=User), name='user-list')