diff options
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`` |
