diff options
| author | José Padilla | 2014-10-31 13:03:39 -0400 | 
|---|---|---|
| committer | Dougal Matthews | 2014-11-25 12:44:11 +0000 | 
| commit | 200e0b17daecd07de6d1f9926a430d29b3ee948f (patch) | |
| tree | 8a8ac43c96df3a46b6c59f9a15a19553c7fb0e47 /docs/topics/documenting-your-api.md | |
| parent | 06683b86b2b15153df52fe481b5c4eeb489a80cf (diff) | |
| download | django-rest-framework-200e0b17daecd07de6d1f9926a430d29b3ee948f.tar.bz2 | |
Clean up extra white space
Diffstat (limited to 'docs/topics/documenting-your-api.md')
| -rw-r--r-- | docs/topics/documenting-your-api.md | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/documenting-your-api.md b/docs/topics/documenting-your-api.md index e20f9712..d65e251f 100644 --- a/docs/topics/documenting-your-api.md +++ b/docs/topics/documenting-your-api.md @@ -54,7 +54,7 @@ The title that is used in the browsable API is generated from the view class nam  For example, the view `UserListView`, will be named `User List` when presented in the browsable API. -When working with viewsets, an appropriate suffix is appended to each generated view.  For example, the view set `UserViewSet` will generate views named `User List` and `User Instance`.  +When working with viewsets, an appropriate suffix is appended to each generated view.  For example, the view set `UserViewSet` will generate views named `User List` and `User Instance`.  #### Setting the description @@ -65,9 +65,9 @@ If the python `markdown` library is installed, then [markdown syntax][markdown]      class AccountListView(views.APIView):          """          Returns a list of all **active** accounts in the system. -         +          For more details on how accounts are activated please [see here][ref]. -         +          [ref]: http://example.com/activating-accounts          """ @@ -84,7 +84,7 @@ You can modify the response behavior to `OPTIONS` requests by overriding the `me      def metadata(self, request):          """          Don't include the view description in OPTIONS responses. -        """  +        """          data = super(ExampleView, self).metadata(request)          data.pop('description')          return data  | 
