├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── SUMMARY.md ├── api ├── authentication.md ├── cnegotiation.md ├── exceptions.md ├── filtering.md ├── formatsuffixes.md ├── gviews.md ├── metadata.md ├── pagination.md ├── parsers.md ├── permissions.md ├── renderers.md ├── requests.md ├── responses.md ├── routers.md ├── schemas.md ├── serializers.md ├── serializersfield.md ├── serializersrelat.md ├── settings.md ├── statuscodes.md ├── testing.md ├── throttling.md ├── urls.md ├── validators.md ├── versioning.md ├── views.md └── viewsets.md ├── book.json ├── home ├── example.md └── install.md ├── images ├── apiroot.png ├── login.png ├── logo.png ├── quick-users.png ├── render1.png ├── render2.png ├── render3.png ├── userspost.png ├── usersput.png └── usersreadonly.png ├── quickstart ├── project.md ├── serializers.md ├── settings.md ├── testing.md ├── urls.md └── views.md ├── topics ├── cors.md ├── docs.md └── forms.md └── tutorial ├── auth-perms.md ├── classview.md ├── coreapi.md ├── hyperlink.md ├── req-resp.md ├── routers.md └── serialization.md /.gitattributes: -------------------------------------------------------------------------------- 1 | *.md linguist-language=javascript 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/README.md -------------------------------------------------------------------------------- /SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/SUMMARY.md -------------------------------------------------------------------------------- /api/authentication.md: -------------------------------------------------------------------------------- 1 | # 身份验证 2 | 3 | -------------------------------------------------------------------------------- /api/cnegotiation.md: -------------------------------------------------------------------------------- 1 | # Content negotiation 2 | 3 | -------------------------------------------------------------------------------- /api/exceptions.md: -------------------------------------------------------------------------------- 1 | # 异常处理 2 | 3 | -------------------------------------------------------------------------------- /api/filtering.md: -------------------------------------------------------------------------------- 1 | # 过滤 2 | 3 | -------------------------------------------------------------------------------- /api/formatsuffixes.md: -------------------------------------------------------------------------------- 1 | # Format suffixes 2 | 3 | -------------------------------------------------------------------------------- /api/gviews.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/gviews.md -------------------------------------------------------------------------------- /api/metadata.md: -------------------------------------------------------------------------------- 1 | # 元数据 2 | 3 | -------------------------------------------------------------------------------- /api/pagination.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/pagination.md -------------------------------------------------------------------------------- /api/parsers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/parsers.md -------------------------------------------------------------------------------- /api/permissions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/permissions.md -------------------------------------------------------------------------------- /api/renderers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/renderers.md -------------------------------------------------------------------------------- /api/requests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/requests.md -------------------------------------------------------------------------------- /api/responses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/responses.md -------------------------------------------------------------------------------- /api/routers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/routers.md -------------------------------------------------------------------------------- /api/schemas.md: -------------------------------------------------------------------------------- 1 | # Schemas 2 | 3 | -------------------------------------------------------------------------------- /api/serializers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/serializers.md -------------------------------------------------------------------------------- /api/serializersfield.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/serializersfield.md -------------------------------------------------------------------------------- /api/serializersrelat.md: -------------------------------------------------------------------------------- 1 | # Serializer relations 2 | 3 | -------------------------------------------------------------------------------- /api/settings.md: -------------------------------------------------------------------------------- 1 | # Settings 2 | 3 | -------------------------------------------------------------------------------- /api/statuscodes.md: -------------------------------------------------------------------------------- 1 | # 状态码 2 | 3 | -------------------------------------------------------------------------------- /api/testing.md: -------------------------------------------------------------------------------- 1 | # 测试 2 | 3 | -------------------------------------------------------------------------------- /api/throttling.md: -------------------------------------------------------------------------------- 1 | # Throttling 2 | 3 | -------------------------------------------------------------------------------- /api/urls.md: -------------------------------------------------------------------------------- 1 | # Returning URLs 2 | 3 | -------------------------------------------------------------------------------- /api/validators.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/validators.md -------------------------------------------------------------------------------- /api/versioning.md: -------------------------------------------------------------------------------- 1 | # API 版本化 2 | 3 | -------------------------------------------------------------------------------- /api/views.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/views.md -------------------------------------------------------------------------------- /api/viewsets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/api/viewsets.md -------------------------------------------------------------------------------- /book.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/book.json -------------------------------------------------------------------------------- /home/example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/home/example.md -------------------------------------------------------------------------------- /home/install.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/home/install.md -------------------------------------------------------------------------------- /images/apiroot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/apiroot.png -------------------------------------------------------------------------------- /images/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/login.png -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/logo.png -------------------------------------------------------------------------------- /images/quick-users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/quick-users.png -------------------------------------------------------------------------------- /images/render1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/render1.png -------------------------------------------------------------------------------- /images/render2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/render2.png -------------------------------------------------------------------------------- /images/render3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/render3.png -------------------------------------------------------------------------------- /images/userspost.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/userspost.png -------------------------------------------------------------------------------- /images/usersput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/usersput.png -------------------------------------------------------------------------------- /images/usersreadonly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/images/usersreadonly.png -------------------------------------------------------------------------------- /quickstart/project.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/quickstart/project.md -------------------------------------------------------------------------------- /quickstart/serializers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/quickstart/serializers.md -------------------------------------------------------------------------------- /quickstart/settings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/quickstart/settings.md -------------------------------------------------------------------------------- /quickstart/testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/quickstart/testing.md -------------------------------------------------------------------------------- /quickstart/urls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/quickstart/urls.md -------------------------------------------------------------------------------- /quickstart/views.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/quickstart/views.md -------------------------------------------------------------------------------- /topics/cors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/topics/cors.md -------------------------------------------------------------------------------- /topics/docs.md: -------------------------------------------------------------------------------- 1 | # API文档生成 2 | 3 | -------------------------------------------------------------------------------- /topics/forms.md: -------------------------------------------------------------------------------- 1 | # HTML & Forms 2 | 3 | -------------------------------------------------------------------------------- /tutorial/auth-perms.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/tutorial/auth-perms.md -------------------------------------------------------------------------------- /tutorial/classview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/tutorial/classview.md -------------------------------------------------------------------------------- /tutorial/coreapi.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/tutorial/coreapi.md -------------------------------------------------------------------------------- /tutorial/hyperlink.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/tutorial/hyperlink.md -------------------------------------------------------------------------------- /tutorial/req-resp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/tutorial/req-resp.md -------------------------------------------------------------------------------- /tutorial/routers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/tutorial/routers.md -------------------------------------------------------------------------------- /tutorial/serialization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spider-yamet/djangorestframework-book/HEAD/tutorial/serialization.md --------------------------------------------------------------------------------