Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
41d27b1a
Commit
41d27b1a
authored
Oct 25, 2012
by
Jamie Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix section headings in generic views docs
parent
1ceca69e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docs/api-guide/generic-views.md
+4
-4
No files found.
docs/api-guide/generic-views.md
View file @
41d27b1a
...
@@ -119,17 +119,17 @@ Extends: [SingleObjectAPIView], [RetrieveModelMixin], [UpdateModelMixin], [Destr
...
@@ -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.
##
Base
APIView
##
Generic
APIView
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.
## MultipleObject
Base
APIView
## 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
]
.
## SingleObject
Base
APIView
## 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].
...
@@ -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
[
Base
APIView
]
.
Should be mixed in with any
[
Generic
APIView
]
.
## RetrieveModelMixin
## RetrieveModelMixin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment