This commit is contained in:
ricky rosario 2013-08-01 14:03:54 -07:00
commit f70ec49a07

View File

@ -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')
---