mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
18 lines
377 B
ReStructuredText
18 lines
377 B
ReStructuredText
Resource example - An object store
|
|
==================================
|
|
|
|
* http://api.django-rest-framework.org/object-store/
|
|
|
|
This example shows an object store API that can be used to store arbitrary serializable content.
|
|
|
|
``urls.py``
|
|
|
|
.. include:: ../../examples/objectstore/urls.py
|
|
:literal:
|
|
|
|
``views.py``
|
|
|
|
.. include:: ../../examples/objectstore/views.py
|
|
:literal:
|
|
|