Serializers (Django REST framework)

preview_player
Показать описание

In this video I talk about Django Rest-framework serializers. Serializers are one of the CORE concepts of the django rest-framework. Serialization is the process of
1) Converting server-side data into something that other technologies can interact with (ex: Json data)
2) Converting data from other technologies into something the django server can read .

#djangorestframework #restapi

Рекомендации по теме
Комментарии
Автор

Excellent job organizing the information and providing the context around why we’re doing what we’re doing. Thank you. :)

auss
Автор

Great video with very clear explanations! Thanks a lot for taking the time to make it!

elenaperez
Автор

Quick question: is there a reason you used a decorator for the first signal but manually connected the pre_save? Do they function differently in this case?

andrewhawes
Автор

How do i change Boolean field values in a serializer . For example. Changing true or false to Valid or Invalid

Boga_adventures
Автор

if one simply, instead of rendering a template in django, provides json data in response does it become an rest api??

rahulsehrawat
Автор

Guys, it is the second part of the video series. Here is the first part:

Where you will have source code

shakhriyorkh
Автор

Got these errors please help.
File "C:\Users\Tabish Chauhan\Desktop\src\account\models.py", line 7, in <module>
from import Token
File "C:\Users\Tabish Chauhan\Anaconda3\envs\py36\lib\site-packages\rest_framework\authtoken\models.py", line 6, in <

module>
from django.utils.encoding import python_2_unicode_compatible
ImportError: cannot import name 'python_2_unicode_compatible

tabishchauhan
Автор

Can't follow along ...please code from scratch

rncs_sanskriti
Автор

Can u please just make rest api tutorial without webapplication from start

dawoodamir
Автор

__all__ in the fields will get all your models keys and values

titanman
Автор

Is it only me, or Django has bad documentation compared to Laravel?

KangJangkrik