Note the sandbox API a couple more times, just in case they didn't get the message yet.

This commit is contained in:
tom christie tom@tomchristie.com 2011-02-19 13:22:12 +00:00
parent e4fff6ea6e
commit eac562b2ec
2 changed files with 20 additions and 0 deletions

View File

@ -3,6 +3,16 @@
Getting Started - Model Resources Getting Started - Model Resources
--------------------------------- ---------------------------------
.. note::
A live sandbox instance of this API is available:
http://api.django-rest-framework.org/model-resource-example/
You can browse the API using a web browser, or from the command line::
curl -X GET http://api.django-rest-framework.org/resource-example/ -H 'Accept: text/plain'
Often you'll want parts of your API to directly map to existing django models. Django REST framework handles this nicely for you in a couple of ways: Often you'll want parts of your API to directly map to existing django models. Django REST framework handles this nicely for you in a couple of ways:
#. It automatically provides suitable create/read/update/delete methods for your resources. #. It automatically provides suitable create/read/update/delete methods for your resources.

View File

@ -3,6 +3,16 @@
Getting Started - Resources Getting Started - Resources
--------------------------- ---------------------------
.. note::
A live sandbox instance of this API is available:
http://api.django-rest-framework.org/resource-example/
You can browse the API using a web browser, or from the command line::
curl -X GET http://api.django-rest-framework.org/resource-example/ -H 'Accept: text/plain'
We're going to start off with a simple example, that demonstrates a few things: We're going to start off with a simple example, that demonstrates a few things:
#. Creating resources. #. Creating resources.