aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
diff options
context:
space:
mode:
authorRicky Rosario2013-08-01 17:02:16 -0400
committerRicky Rosario2013-08-01 17:02:16 -0400
commit3802442c89a722da7e48210d315856b5993fcdbe (patch)
tree4e2d2e15b029fa49145e95ed491f643e15ed9cb0 /docs/api-guide
parent9e9233f87fe54cacacca3723ee4a23eb928bd7a8 (diff)
downloaddjango-rest-framework-3802442c89a722da7e48210d315856b5993fcdbe.tar.bz2
Add missing comma to generic view example.
Diffstat (limited to 'docs/api-guide')
-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 67853ed0..32a4feef 100755
--- a/docs/api-guide/generic-views.md
+++ b/docs/api-guide/generic-views.md
@@ -40,7 +40,7 @@ For more complex cases you might also want to override various methods on the vi
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.
- url(r'^/users/', ListCreateAPIView.as_view(model=User) name='user-list')
+ url(r'^/users/', ListCreateAPIView.as_view(model=User), name='user-list')
---