mirror of
https://github.com/lemeow125/Notes.git
synced 2025-02-22 14:08:08 +08:00
vault backup: 2024-11-02 18:26:18
Affected files: docs/Guides/Django REST Framework/7 - Writing API Endpoints.md docs/Guides/Django REST Framework/_resources/7 - Writing API Endpoints/695f930d4993ff8d8f2ccf806bd9ca9f_MD5.jpeg
This commit is contained in:
parent
36e895d3dc
commit
5598444ba3
2 changed files with 2 additions and 1 deletions
|
@ -85,4 +85,5 @@ If serializers convert the underlying model to JSON, then views return the web r
|
|||

|
||||
Views take in HTTP requests passed in from the actual URL. You can specify a `queryset` to define what objects to return and specify a serializer which will be used to structure the returned data.
|
||||
|
||||
Much like with DRF serializers, you can add permission handling to
|
||||
Much like with DRF serializers, you can use permissions to change what's returned to the user.
|
||||

|
Binary file not shown.
After Width: | Height: | Size: 295 KiB |
Loading…
Reference in a new issue