Django Rest API CRUD - GET, POST, PUT and DELETE
HTML-код
- Опубликовано: 8 фев 2025
- Django Rest Framework API CRUD Operations with PostgreSQL.
In this Python Django restful API tutorial, we will discuss how to implement CRUD operations with PostgreSQL using web methods - GET, POST, PUT, and DELETE.
📂 GitHub Repository
► bit.ly/2rMJzie
💖 Buy me a Coffee
➤ bit.ly/3L36ut4 (PayPal)
➤ bit.ly/3VF0iPT (Razorpay)
🌀 Related Videos
bit.ly/2NebfEZ : Complete Django CRUD
bit.ly/33YmlUu : Django API CRUD
bit.ly/35XPErK : Django TODO with PostgreSQL
🔗 Find me in
Udemy : bit.ly/3RtyQSB
Facebook : / codaffection
GitHub : github.com/cod...
Discord : / discord
Twitter : / codaffection
#django #python #CodAffection
goo.gl/RFY5C2 : Subscribe to CodAffection
goo.gl/bPcyXW : Buy me a Coffee
bit.ly/2NebfEZ : Django Form for CRUD Operations
bit.ly/35XPErK : Django To-Do App with Postgres
goo.gl/ijPZQk : .Net Core Web API CRUD with Angular 7
goo.gl/AL18CP : Asp.Net Core MVC CRUD
I guess Im randomly asking but does any of you know a trick to get back into an instagram account??
I was stupid forgot the account password. I love any help you can give me.
@Abdiel Amir instablaster =)
@Colin Ellis Thanks so much for your reply. I found the site through google and I'm trying it out atm.
Seems to take a while so I will reply here later when my account password hopefully is recovered.
@Colin Ellis it worked and I now got access to my account again. I'm so happy:D
Thank you so much you saved my account !
@Abdiel Amir Happy to help :D
Dude, this was insane! How could this be as simple as this? So good explained. Thank you so much!
This is 2024, four years after, close to 5 actually and I'm seeing this. Man, you made crud in django like a cheat-sheet.... insanely easy and comprehensive. I love you man. Thanks a lot
Thanks for the wonderful feedback.
Definitively the best part is 22:24. "Boooom!". Very good video, it helped a lot!!
Man, this is awesome! I tried to understand this process by many-many other videos, but your video - gives me full understanding! Thank you very much!
Thanks for your wonderful feedback.
Pls make more video sir. It is very useful and simple to understand😉
The most easiest way to do this. Love ya...!
so amazing man may god bless yu
Thanks a lot for this video. Helped a lot. Greetings from Germany. :)
This is just Awesome. Thanks a lot for making such wonderful Tutorial.
Bro that video was amazing! Helped me out a lot. Thank you so much. Didn't think it can be that easy :)
Thanks man
you've saved me a whole lot
I've been wandering around to do this but your tutorial is so cool and the concepts are well explained
GOD Bless You
Once again
thank you for getting my hands really dirty in postgresql in setting it up on ubuntu 20.04
I've never used it but you have made it seem awesome to use for me
so this is a 2 in 1 for me gain for me :D
Thanks for your wonderful feedback. keep in touch.
This is really helpful and organized. Especially using viewset is very comfortable to create and test rest API. Thanks a lot. I wish you to post many videos like this. Cheer Up.
thanks dude
Awesome explanation. By far one of the best videos on dev :)
Muy buen video. Gran trabajo, me aclaró la gran interrogante de como hacer un crud en DJango.
Op video dude
tou are the king good bless you
Thanks a lot! Your tutorial helped me
Well Explained. Thank you
Glad you liked it.
Best tutorial ever
thankyou so much
Nice explanation to whatever you showed (y)
Thank you so much !!
Awesome, sir can u pls database first in django
Awesome Tutorial, Thank you!
Very nice! Thank you!
thanks man, really appreciated it!
love this
Subscribed because this video was so clean and well described
You are just the best buddy🥳
great job Sir..
A very nice tutorial. Please make a tutorial for Django Master-Detail CRUD operations. Thank you very much in advance.
Thank you man that exactly what i was looking for, it helped me a lot. Thank you again.
Thanks for the detail explanation, I've a question, why do we need querySet? If I need create api only still do I need querySet with model.objects.all() ?
Excellent videotutorial
08/07/2020
BEST TUTORIAL!!! Can we integrate these APIs with angular?
sure.
very nice video and contain thanks
Glad you found this django rest api tutorial helpful.
Please, on my browser, the place for fullname is not displaying. And I cannot enter fullname for employee
Thanks man
which vs code extension your using for code suggestions of django?
in 5:55 how does the db.sqlite3 pop up?
Hi, At the beginning you do workon djanoenv. It isnt working for me. I tried pip install workon, and still didnt work. Can I do this without doing that first command as in the django mvc video you dont do that workon command?
Perhaps a very late response, you have to:
pip install virtualenvwrapper-win
Then go to your directory of your project and:
mkvirtualenv djangoenv
This should automatically activate the environment with the 'workon' command but if it doesn't then type in
workon djangoenv
I appreciate your efforts. Would you mind to give some information on how to upload a csv file and save the interiors of the file into postgresql tabel.
bOOm...... Subscribed it. Nice video
hey can some one help me where i should implement new functional requirements into this
Thanks :D
can we use git bash over cmd??
after making the migration ,in the database table only pk=1 is reflecting.where i am going wrong ? help me with it
Thank you!
i have same problem, how to solve ?
@@bayualiffarisqi3251 same! only that and mobile
Thank You
Hi bro , your videos are very good. But, I have 1 problem while practicing. Whenever, I request POST, django automatically calls GET method after completing POST request... why is it so??
Hi..How can I get the endpoints?
so awesome!! pls for the source code link sir
What about DELETE?
While deleting the record why it shows a 204 status code?
How can I set a proper message with a status code?
127.0.0.1:8000/api/employee/1/ (do the same as you update put id value)
how to remove this error 'StudentList' should either include a `serializer_class` attribute, or override the `get_serializer_class()` method.
The github file is incomplete, you didn't add the employeeapi folder.
Thanks for the comment. Missing files/folder is added.
@@CodAffection Thanks
The github file is incomplete, you didn't add the employeeapi folder. Please add that too.
thanks for the comment. it's done now.
In my serializer file it's showing module error not found for rest_framework
I was using different versions of python, so try switching versions and see which one is working (switch interpreter), this worked for me.
AttributeError: partially initialized module 'employeeapi.serializers' has no attribute 'EmployeeSerializer' (most likely due to a circular import)
same, then i just copy-pasteing from his github, and boom!, works for me. btw i copy-pasteing from viewsets.py and router.py line 1
how can add button delete and update in client django rest framework?
github ?
In router.py when I type "from employeeapi .viewset" the employeeapi doesnt show up...any help?
same, then i just copy-pasteing from his github, and boom!, works for me
btw i copy-pasteing from viewsets.py and router.py just line 1
The first line Workon djangoenv is not working
Pls any one reply
Nice tutorial ..Please upload more videos on django..
Sure. thanks for the feedback.
bro how u solve problem with pylint ?
Solved With -- ruclips.net/video/TH5_2Gi9nhw/видео.html
17:09
delete??? update???
10:00
10.00
Thank you sir
thank a lot brother