Fix section headings in generic views docs

This commit is contained in:
Jamie Matthews 2012-10-25 14:22:36 +01:00
parent 1ceca69e5f
commit 41d27b1a30

View File

@ -119,17 +119,17 @@ Extends: [SingleObjectAPIView], [RetrieveModelMixin], [UpdateModelMixin], [Destr
Each of the generic views provided is built by combining one of the base views below, with one or more mixin classes. Each of the generic views provided is built by combining one of the base views below, with one or more mixin classes.
## BaseAPIView ## GenericAPIView
Extends REST framework's `APIView` class, adding support for serialization of model instances and model querysets. Extends REST framework's `APIView` class, adding support for serialization of model instances and model querysets.
## MultipleObjectBaseAPIView ## MultipleObjectAPIView
Provides a base view for acting on a single object, by combining REST framework's `APIView`, and Django's [MultipleObjectMixin]. Provides a base view for acting on a single object, by combining REST framework's `APIView`, and Django's [MultipleObjectMixin].
**See also:** ccbv.co.uk documentation for [MultipleObjectMixin][multiple-object-mixin-classy]. **See also:** ccbv.co.uk documentation for [MultipleObjectMixin][multiple-object-mixin-classy].
## SingleObjectBaseAPIView ## SingleObjectAPIView
Provides a base view for acting on a single object, by combining REST framework's `APIView`, and Django's [SingleObjectMixin]. Provides a base view for acting on a single object, by combining REST framework's `APIView`, and Django's [SingleObjectMixin].
@ -151,7 +151,7 @@ Should be mixed in with [MultipleObjectAPIView].
Provides a `.create(request, *args, **kwargs)` method, that implements creating and saving a new model instance. Provides a `.create(request, *args, **kwargs)` method, that implements creating and saving a new model instance.
Should be mixed in with any [BaseAPIView]. Should be mixed in with any [GenericAPIView].
## RetrieveModelMixin ## RetrieveModelMixin