CRUD API using Function Based View and Class Based View in Django REST Framework (Hindi)

preview_player
Показать описание
CRUD API using Function Based View and Class Based View in Django REST Framework

Django REST Framework Playlist:

Django Playlist:

Advance PHP Tutorials:



Check Out Our Other Playlists:

SUBSCRIBE to Learn Programming Language !

Learn more about subject:

________________________________________________

If you found this video valuable, give it a like.
If you know someone who needs to see it, share it.
If you have questions ask below in comment section.
Add it to a playlist if you want to watch it later.
________________________________________________

T A L K W I T H M E !
_______________________________________________

Make sure you LIKE, SUBSCRIBE, COMMENT, and REQUEST A VIDEO! :)
_______________________________________________
Рекомендации по теме
Комментарии
Автор

Kitna achha padhate ho ...me is field me apne carrier ki saruaat hi kar rha hu or mera pehla project bhi aapki django series dekhne k bad banaya haua hai or muje aajhi nya project AIP create karaneka mila hai and i believe that vo bhi aapki is series se pura ho jayega ...really muje nahi pata aapko iss videos banane se kitna milta hoga but i am sure that jo a dekhte hai usse kuchh kam nai millta ...you are work for make people's carrier...you are real teacher like guru...you make my day heartly thank you so much...God Bless you .

detrojajay
Автор

Sir mja aa rha hai isse phele maone bhaut video dekha lekin ye channel duniya ka best channel hai

dhddpei
Автор

why is it that guys with this voice always have the best content xD
I remember a channel during jee days named PWD: Physics with Dhananjay
same voice with useful excellent content.😄Thanku for these videos very much u are a savior

Karthik-kt
Автор

you are very great teacher and i like to your teaching style
thanks sir👌👌👌👌👌

shoebbagban
Автор

i had gone through the videos still continue.. bhai thank you yaar acha laga aisa kohe nahi padthe hai thanku

rakeshkoduri
Автор

the best tutorial for me (from Bangladesh), make more on advanced django

quranicscience
Автор

thank you for the best tutorials i ever had. very simple, understanding, and real life concepts

nimawangdi
Автор

raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
Expecting value: line 1 column 1 (char 0)
Sir why this error is coming please reply

sumit
Автор

Thank u sir.... u r changing learning environment.

ThisAmit
Автор

guys m getting error any one can help while fetching the data from api--
File "myapp.py", line 17, in <module>
get_data(1)
File "myapp.py", line 14, in get_data
data=r.json()


raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
and while running the link:
parse() missing 1 required positional argument: 'stream'
getting his error

NitinSingh-jizy
Автор

Thank You for this video ✌️.... This video clears all my doubts about how to practically use the Rest Api !! 👍

mohitsingh
Автор

why you write complicated code? you can do this like this:

def createData(request):
s =
if s.is_valid:
s.save()
return Response('data created')

antorzuck
Автор

Really good tutorial... I really appreciate your hard thank you....

RajendiranM-vfvu
Автор

still on the track ..thanks for this wonderful web series.

shivamsharma-bjpu
Автор

Hi, I just went through whole video and it was awesome. I have a few doubts, it might be because I have not studied Django from your videos and you might have covered below doubts there. If you could answer my queries or If you can mention the exact videos which I need to see in your channel for below queries then that would be great:

- why are we using *args, **kwargs as a parameters in CBV? I don't see the use of these in the defined functions.

- What is the use of @method_decorator(csrf_exempt, name='dispatch') ?

- Why are we inheriting View in our class StudentAPI?

- How to handle if the id is not present in our database during update/delete/get? I used try-except in my code but what is the desirable approach?

P.S. - I used below code to handle error:

try:
WHOLE CODE
except Exception as e:
res = { 'msg' : str(e)}
return JsonResponse(res, safe=False)

Thanks in advance.

imhiteshgarg
Автор

Everything is fine but you should show us how to fetch api with ajax Or jquery in the same vedio

priyeshpandey
Автор

When we making a get request why we are getting Response in List and Dictionary instead of JSON even we are returning JsonResponse.

amarupadhyay
Автор

There must be a single project for different operations. For the real world, we have to do many operations on a single project.

suwaliarora
Автор

Failed to establish a new connection [WinError 10061] error found
How can i fix this ....?

rahulrawani
Автор

In the method_decorator why are using name = "dispatch" instead of name = "post"

codewithray