diff options
| author | Tom Christie | 2015-03-09 08:53:13 +0000 |
|---|---|---|
| committer | Tom Christie | 2015-03-09 08:53:13 +0000 |
| commit | e520ea0acba4272623e813834a5c5c8e74f11fd1 (patch) | |
| tree | c1c9e69a6d30c1e8027c23a3bc49f35b16484621 /docs/api-guide/metadata.md | |
| parent | d46d860088d67686c5a9f9916c105825e2710a88 (diff) | |
| parent | 140b94c32e3964fe5cd257809bd1f1508fa31c65 (diff) | |
| download | django-rest-framework-e520ea0acba4272623e813834a5c5c8e74f11fd1.tar.bz2 | |
Merge pull request #2652 from jpadilla/master
Remove the 'docs for 3.0' banners.
Diffstat (limited to 'docs/api-guide/metadata.md')
| -rw-r--r-- | docs/api-guide/metadata.md | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/api-guide/metadata.md b/docs/api-guide/metadata.md index 247ae988..01727440 100644 --- a/docs/api-guide/metadata.md +++ b/docs/api-guide/metadata.md @@ -1,11 +1,5 @@ source: metadata.py ---- - -**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available. - ---- - # Metadata > [The `OPTIONS`] method allows a client to determine the options and/or requirements associated with a resource, or the capabilities of a server, without implying a resource action or initiating a resource retrieval. @@ -59,7 +53,7 @@ Or you can set the metadata class individually for a view: class APIRoot(APIView): metadata_class = APIRootMetadata - + def get(self, request, format=None): return Response({ ... |
