aboutsummaryrefslogtreecommitdiffstats
path: root/docs/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 481bdfe2..2bd37a85 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -80,7 +80,8 @@ Using Django REST framework can be as simple as adding a few lines to your urlco
from myapp.models import MyModel
class MyResource(ModelResource):
- model = MyModel
+ class Meta:
+ model = MyModel
urlpatterns = patterns('',
url(r'^$', ListOrCreateModelView.as_view(resource=MyResource)),
@@ -134,6 +135,7 @@ Library Reference
library/renderers
library/resource
library/response
+ library/serializer
library/status
library/views