mirror of
https://github.com/lemeow125/Notes.git
synced 2025-04-04 17:11:34 +08:00
vault backup: 2024-11-02 18:31:18
Affected files: docs/Guides/Django REST Framework/7 - Writing API Endpoints.md
This commit is contained in:
parent
c7ff5fb5b7
commit
5a1a746184
1 changed files with 2 additions and 2 deletions
|
@ -85,6 +85,6 @@ 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 customize what they return to the user.
|
||||
Much like with DRF serializers, you customize what they return to the user. This can be to check whether the user owns what he/she's modifying, or
|
||||

|
||||
If you're using Memcached or Redis, you'll most likely have it integrated here, similar to This is something you won't have to worry
|
||||
If you're using Memcached or Redis, you'll most likely have it integrated here, similar to the example above. This is something you won't have to worry
|
Loading…
Add table
Reference in a new issue