Django REST framework: Concept behind different types of serializers?

  Рет қаралды 6,349

Jitendra Kasaudhan

Jitendra Kasaudhan

Күн бұрын

Agenda
- Serialization vs Deserialization
- Block diagram of Serialization vs Deserialization
- Usage of DRF serializers
- Different types of serializers in DRF
- Difference between available serializers
- Demo

Пікірлер: 26
@gustavowilliam1858
@gustavowilliam1858 3 жыл бұрын
Thank you so much for the content, you helped me a lot!!!
@jitendrakasaudhan
@jitendrakasaudhan 3 жыл бұрын
Thankyou @Gustavo .. I am glad that it was helpful 🙂🙂
@NSKTheRipper
@NSKTheRipper 3 жыл бұрын
You are explaining it so well, good work, keep it up....
@jitendrakasaudhan
@jitendrakasaudhan 3 жыл бұрын
Thank you @Sampath Kumar Kaniappan .. I am happy that it was helpful to you :) :)
@totality_tantra
@totality_tantra Жыл бұрын
Good job explaining. Please use editor studio in youtube to remove all the errors and video will become much shorter and more useful
@mosup5007
@mosup5007 2 жыл бұрын
Thank you for the tutorial , and i think you don't really need to kill the shell , just reimport the changed dependencies.
@jitendrakasaudhan
@jitendrakasaudhan Жыл бұрын
Thanks for mentioning it @Mosup :) :)
@Sharath_NK98
@Sharath_NK98 10 ай бұрын
Thank q
@rkisdp
@rkisdp 2 жыл бұрын
how can I change the key name of json field when we use serializermethodfield, example if we are adding something like key_id = serializermethodfield(), it adds "keyId" in json but how can I change this key name to "key_id"
@SuperThepac
@SuperThepac 3 жыл бұрын
If ur passing input to serialiser as a dictionary (json) what are u serialising. Shouldn't u pass object and convert to json instead ??
@jitendrakasaudhan
@jitendrakasaudhan 3 жыл бұрын
Hi @Thepac good catch by the way :) :) In general, as you mentioned we should pass object in serializer to convert to json but in django world or django serializers does more than that :) :) I have passed a dictionary in PersonSerializer(data={......}) to use validation feature of the serializer :) rather than data serialization feature :)
@joventan4303
@joventan4303 2 жыл бұрын
Thank you very much!
@joventan4303
@joventan4303 2 жыл бұрын
do you have public repository where you use serialization?
@NSKTheRipper
@NSKTheRipper 3 жыл бұрын
22nd subscriber
@meetfalcon5512
@meetfalcon5512 3 жыл бұрын
Nice explanation
@jitendrakasaudhan
@jitendrakasaudhan 3 жыл бұрын
Thank you @Meet Falcon. I am glad that you liked it :) :) :)
@abhinavnarang7855
@abhinavnarang7855 3 жыл бұрын
Bro why are you not making any more videos. A video on complex queries in Django using queryset and query optimisation will seriously help a lot. There is not any single good video on this topic on KZbin.
@jitendrakasaudhan
@jitendrakasaudhan 3 жыл бұрын
Hi @Abhinav Thank you very much for your interest :) :) I will get back on track probably from February.. I was looking for a new job opportunity since last couple of months and I had to prepare several things therefore I was not able to create more videos :) :) but now hopefully I can create more useful videos on the topics you have mentioned above :) :)
@sunilghimire6990
@sunilghimire6990 3 жыл бұрын
how can i get this ppt ?
@jitendrakasaudhan
@jitendrakasaudhan 3 жыл бұрын
Hi @sunil, looks like I forgot to push it to my github repo.. Currently I am away from my laptop, i will upload it and let you know as soon as I can 🙂🙂🙂
@CJ-ix1ov
@CJ-ix1ov 2 жыл бұрын
Man don't stop making these concept videos even if it's a repeat of the same concept just put in a little more work and you shall soon stop reaping the results
@jitendrakasaudhan
@jitendrakasaudhan 2 жыл бұрын
Hi @iknow thank you for the suggestion. I think once again i need to resume making videos😀😀
@CJ-ix1ov
@CJ-ix1ov 2 жыл бұрын
@@jitendrakasaudhan yes you have to
@The_CR_Cosmos
@The_CR_Cosmos Жыл бұрын
thodi tej bol le bhai. sunai hi nhi de rha
@mosup5007
@mosup5007 2 жыл бұрын
Thank you for the tutorial , and i think you don't really need to kill the shell , just reimport the changed dependencies.
@jitendrakasaudhan
@jitendrakasaudhan 2 жыл бұрын
Hi @Mosup, thank you for the tips 👍👍
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 27 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 116 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 30 МЛН
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 382 М.
ViewSets in Django Rest Framework and Types #10
13:26
IamPython
Рет қаралды 10 М.
Django REST Framework Tutorial | Serialization
24:41
Benjamin Carlson
Рет қаралды 4,9 М.
Scientific Concepts You're Taught in School Which are Actually Wrong
14:36
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 1,3 МЛН
Самые крутые школьные гаджеты
0:49
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 99 М.
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 85 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 881 М.