From e87fcbb99d38fab6be973843abe9f43d33cbd399 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Tue, 19 Dec 2017 12:06:41 +0100 Subject: [PATCH] Add link to Classy DRF in docs (#5683) Closes #5636 as per https://github.com/encode/django-rest-framework/issues/5636#issuecomment-348143281 --- docs/api-guide/views.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/api-guide/views.md b/docs/api-guide/views.md index 2f9f51cf9..017bcad0c 100644 --- a/docs/api-guide/views.md +++ b/docs/api-guide/views.md @@ -42,6 +42,13 @@ For example: usernames = [user.username for user in User.objects.all()] return Response(usernames) +--- + +**Note**: The full methods, attributes on, and relations between Django REST Framework's `APIView`, `GenericAPIView`, various `Mixins`, and `Viewsets` can be initially complex. In addition to the documentation here, the [Classy Django REST Framework][classy-drf] resource provides a browsable reference, with full methods and attributes, for each of Django REST Framework's class-based views. + +--- + + ## API policy attributes The following attributes control the pluggable aspects of API views. @@ -212,3 +219,5 @@ You may pass `None` in order to exclude the view from schema generation. [settings]: settings.md [throttling]: throttling.md [schemas]: schemas.md +[classy-drf]: http://www.cdrf.co +