aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/modelresources.rst
diff options
context:
space:
mode:
authorTom Christie2011-06-02 15:22:14 +0100
committerTom Christie2011-06-02 15:22:14 +0100
commitbf9ea978bca8928ba5726e4ec3d76e81d72aada8 (patch)
treea752b60913ed733f76eb78cca983d249f47de702 /docs/examples/modelresources.rst
parentf78076b5ba916aea24a8cbfd2fc9c7830c7d6c5e (diff)
downloaddjango-rest-framework-bf9ea978bca8928ba5726e4ec3d76e81d72aada8.tar.bz2
Updating docs for 0.2
Diffstat (limited to 'docs/examples/modelresources.rst')
-rw-r--r--docs/examples/modelresources.rst7
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/examples/modelresources.rst b/docs/examples/modelresources.rst
index 676656a7..375e4a8d 100644
--- a/docs/examples/modelresources.rst
+++ b/docs/examples/modelresources.rst
@@ -32,13 +32,6 @@ Here's the models we're working from in this example. It's usually a good idea
.. include:: ../../examples/modelresourceexample/models.py
:literal:
-Now that we've got some models and a urlconf, there's very little code to write. We'll create a :class:`.ModelResource` to map to instances of our models, and a top level :class:`.RootModelResource` to list the existing instances and to create new instances.
-
-``views.py``
-
-.. include:: ../../examples/modelresourceexample/views.py
- :literal:
-
And we're done. We've now got a fully browseable API, which supports multiple input and output media types, and has all the nice automatic field validation that Django gives us for free.
We can visit the API in our browser: