How to build scalable REST APIs with Django REST Framework

How to build scalable REST APIs with Django REST Framework

Denis Orehovsky

2 года назад

7,471 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

ΙΟΡΔΑΝΗΣ ΠΕΛΕΖΙΚΗΣ
ΙΟΡΔΑΝΗΣ ΠΕΛΕΖΙΚΗΣ - 06.09.2023 19:50

Hello. Nice video. Another way to use a certain serializer (InputSerializer) for all requests and a different one (OutputSerializer) for all responses is to override data property and many_init method of InputSerializer to use the OutputSerializer for responses and declare InputSerializer as the value of serializer_class attribute on your ModelViewset.

If anyone is interested I can write the code. Its a couple of lines

Ответить
Saurav Sharma
Saurav Sharma - 19.01.2023 18:58

Why you are these days.. the last video is 1 year old

Ответить
SB PHP
SB PHP - 05.10.2022 17:14

Great video, by the way from today i am your subscriber)
I have some questions about django. (may be for your next vies, but i will be happy if you answer like at least shortly in comment:)))
1. what about action decorators, when you want to add different api (not crud)
2. what is best practice for using filterset classes?
3. best way for adding swagger (some problems when swagger do not read params of filter of genericviewsets filtersets when we use action decorators in it.
4. what is migrations file effective use, to not have conflicts, when you work 3-4 people on project?
5. orm, annotations, aggregations, rawsql which type is best for cases?

Ответить
Muhammad Hassan
Muhammad Hassan - 10.01.2022 16:16

Very nicely explained man. keep up the good work

Ответить
Karan Shyam Mittal
Karan Shyam Mittal - 10.08.2021 19:12

This video is gold!

Ответить
benjamin armijo guzman
benjamin armijo guzman - 01.08.2021 18:29

This content is really good , thanks man

Ответить
Slava Pasedko
Slava Pasedko - 24.07.2021 17:18

Thank you man, cool and pretty clear

Ответить