aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Hubbell2014-08-26 17:31:08 -0700
committerNathan Hubbell2014-08-26 17:31:08 -0700
commit19076510f4039aa6886854679e21352fffb5354f (patch)
tree604c342a42bb8b34f9377a1032c85af51462743f
parentc29c75da280aee3fadc3a6d673caa64215b7c24b (diff)
downloaddjango-rest-framework-19076510f4039aa6886854679e21352fffb5354f.tar.bz2
Update 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')