Django RestFramework - Build APIs for Nested Model

Veröffentlicht am: 14 Januar 2024
auf dem Kanal: JCharisTech
396
6

In this tutorial we will explore how to work with Django Restframework and how to build apis for nested models and how to use primarykeyrelated field.

⚡ Django RestFramework ⚡ : Build APIs for Nested Model

💻 Code:https://github.com/jcharis
📝 Blog:https://blog.jcharistech.com
📺 Become a Patron:  / jcharistech  


🎓=== Check out these Awesome Data Science Courses!===🎓
🧑🏻‍🔧 Building ML Web Apps:https://www.udemy.com/course/building...
🧑🏻‍🎓 Learn Streamlit: https://www.udemy.com/course/learn-st...
🧑‍🎓BioInformatics in Python:https://www.udemy.com/course/bioinfor...
🤵🏻 Go4DataScience & Go For NLP(Udemy): https://www.udemy.com/course/go-for-d...
🧑🏻‍🔧 Machine Learning in Python:https://www.udemy.com/course/machine-...
🧑🏻‍🎓 DVC and Git For Data Science:https://www.udemy.com/course/dvc-and-...


⏲️===TimeStamps===⏲️
0:01 Intro
01:20 Setup
04:30 Settings & Configurations
06:30 Urls and Routes
09:20 Configure Pycharm to Run Django App
10:40 Models
14:10 Register Models in Admin
14:50 Migrations
17:33 Building Serializers
20:09 API with ViewSets
25:20 ModelViewSets
27:38 Adding Swagger UI with Drf-yasg
36:50 Using Regular Serializers
39:40 Using PrimaryKeyRelatedField
44:00 Defining Create method for Regular Serializer
52:34 Validating Fields in Serializer
59:20 Modify Serializer Output with to_representation
1:03:40 WritableNestedSerializer
1:11:30 Recap

If you liked the video don't forget to leave a like 👍 or subscribe ❤️.
⚡ If you need any help just message me in the comments, you never know it might help someone else too. ⚡

JCharisTech

Support the Channel: Become a Patreon
📺 Become a Patron:  / jcharistech  


◾◾◾Get The Data Science Prime App◾◾◾
@ Playstore : http://bit.ly/2LArYQu

◾◾◾ Need Your Dataset Cleaned check out this gig ◾◾◾
https://www.fiverr.com/jesiel_/clean-...


Follow
💻   / jcharistech  
🌎 Website: https://jcharistech.com
📂 GitHub: https://github.com/Jcharis/
📱 Twitter:   / jcharistech  
📝 Blog: https://blog.jcharistech.com
📺 Patreon:   / jcharistech  
🌐 WP: https://jcharistech.wordpress.com/
🏫 Course: http://jcharistech-institute.thinkifi...


Auf dieser Seite können Sie das Online-Video Django RestFramework - Build APIs for Nested Model mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer JCharisTech 14 Januar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 396 Mal angesehen und es wurde von 6 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!