django-rest-framework/docs/examples.rst
2012-02-27 10:53:16 +09:00

24 lines
818 B
ReStructuredText

Examples
========
There are a few real world web API examples included with Django REST framework.
#. :doc:`examples/resourceexample`
#. :doc:`examples/modelresourceexample`
#. :doc:`examples/objectstore` - Using :class:`views.View` classes for APIs that do not map to models.
#. :doc:`examples/pygments` - Using :class:`views.View` classes with forms for input validation.
#. :doc:`examples/blogpost` - Using :class:`views.ModelView` classes for APIs that map directly to models.
#. :doc:`examples/permissions` - How to protect your API using authentication and throttling
All the examples are freely available for testing in the sandbox:
http://rest.ep.io
There is also documentation describing how the :doc:`examples/sandbox` resource itself is implemented.
.. toctree::
:hidden:
:glob:
examples/*