diff options
| author | Tom Christie | 2011-06-02 12:58:10 +0100 |
|---|---|---|
| committer | Tom Christie | 2011-06-02 12:58:10 +0100 |
| commit | b50492853f537a2473bb0a9eea86c8b0ed6b8824 (patch) | |
| tree | d289d39aacf187a8a0696a4c1c863aabe1472c3a /docs/examples | |
| parent | 7ee9adbe5c03c29cd4a894dd476548f7fe73b5e4 (diff) | |
| parent | fc1640de75511006e89f033c9270ec91a9f1e4d4 (diff) | |
| download | django-rest-framework-b50492853f537a2473bb0a9eea86c8b0ed6b8824.tar.bz2 | |
pull in -dev as 0.2.0
Diffstat (limited to 'docs/examples')
| -rw-r--r-- | docs/examples/blogpost.rst | 6 | ||||
| -rw-r--r-- | docs/examples/pygments.rst | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/examples/blogpost.rst b/docs/examples/blogpost.rst index 07f7cbc5..9d762f52 100644 --- a/docs/examples/blogpost.rst +++ b/docs/examples/blogpost.rst @@ -27,7 +27,7 @@ Creating the resources Once we have some existing models there's very little we need to do to create the corresponding resources. We simply create a base resource and an instance resource for each model we're working with. django-rest-framework will provide the default operations on the resources all the usual input validation that Django's models can give us for free. -``views.py`` +#``views.py`` -.. include:: ../../examples/blogpost/views.py - :literal:
\ No newline at end of file +#.. include:: ../../examples/blogpost/views.py +# :literal:
\ No newline at end of file diff --git a/docs/examples/pygments.rst b/docs/examples/pygments.rst index decc2f65..b4bc2c16 100644 --- a/docs/examples/pygments.rst +++ b/docs/examples/pygments.rst @@ -31,12 +31,12 @@ We'll need two resources: Form validation --------------- -We'll now add a form to specify what input fields are required when creating a new highlighed code snippet. This will include: +We'll now add a form to specify what input fields are required when creating a new highlighted code snippet. This will include: * The code text itself. * An optional title for the code. * A flag to determine if line numbers should be included. -* Which programming langauge to interpret the code snippet as. +* Which programming language to interpret the code snippet as. * Which output style to use for the highlighting. ``forms.py`` |
