教程
- 1 - Serialization
- 2 - Requests & Responses
- 3 - Class-based views
- 4 - Authentication & permissions
- 5 - Relationships & hyperlinked APIs
- 6 - Viewsets & routers
- 7 - Schemas & client libraries
There is a live example API of the finished tutorial API for testing purposes, available here.
API指南
The API guide is your complete reference manual to all the functionality provided by REST framework.
- Requests
- Responses
- Views
- Generic views
- Viewsets
- Routers
- Parsers
- Renderers
- Serializers
- Serializer fields
- Serializer relations
- Validators
- Authentication
- Permissions
- Throttling
- Filtering
- Pagination
- Versioning
- Content negotiation
- Metadata
- Schemas
- Format suffixes
- Returning URLs
- Exceptions
- Status codes
- Testing
- Settings