Django RestFramework - Build APIs for Nested Model

Опубликовано: 14 Январь 2024
на канале: 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...


Смотрите видео Django RestFramework - Build APIs for Nested Model онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь JCharisTech 14 Январь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 396 раз и оно понравилось 6 людям.