mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-05-08 09:53:42 +03:00
typo
This commit is contained in:
parent
b4e8ecbec7
commit
eebcdc4dc0
|
@ -117,7 +117,7 @@ Here's the models we're working from in this example. It's usually a good idea
|
||||||
.. include:: ../examples/modelresourceexample/models.py
|
.. include:: ../examples/modelresourceexample/models.py
|
||||||
:literal:
|
: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 instance and to create new instances.
|
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``
|
``views.py``
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user