Django Rest Framework Intro - Django Ecommerce Project v2

preview_player
Показать описание
Welcome to part 5 of the Python Django E-commerce project version 2. In this Python Django tutorial we focus on working towards implementing the django rest framework into our existing django project, ecommerce version 2. This tutorial can be viewed as a stand alone django rest tutorial as we introduce the basics for django drf focusing on gettings started with django rest, serializers, viewsets and routers.

Code Repository:
===

Database ERD
====

Timeline:
====
00:00 Introduction
02:06 Download repo and setup project
14:30 Create new app and install DRF
18:16 Serializers ex 1
22:11 Views ex 1
28:42 Routers
43:42 Viewsets - filter individual products by slug
50:17 Viewset mixins
52:42 Serializers read_only
56:05 Retrieve function over-ride - return all from category
1:03:15 Working with the ProductInventory table ex 2
1:09:37 Serializer depth

Documentation
===

✨ Support us - join us as a Very Academy Member

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
Рекомендации по теме
Комментарии
Автор

Zander, Thank you so much for this part. I really look forward more DRF content and you have arrived ! long live Zander!

ogzhn
Автор

Hello! First off I would like to say that you make the best Django content on YouTube so thank you for all that you do! Second, as an American I really appreciated the router comment. It was like you read my mind 😂

tylerhorn
Автор

Awesome! Thank you so much for your harder efforts.

sreebashkumardas
Автор

Thank You very much.
Your content has been very helpful.

DhruvKaushik
Автор

Hello Zander, wonderful effort you've put on the Django series! Been learning a lot through your playlists. Looking forward to User Recommendations/Recommender systems tutorials on your channel. Thanks a lot!

alphashere
Автор

Hello Zanderm good job on the API, probably a small suggestion, adding drf_yasg will document your API and make it easier for you to explain what viewsets do. Thanks again, I learn with every video, looking forward to the next one.

_Cyrus
Автор

Thankyou so much, you make everything so easy.

ai.
Автор

Zander, thank you for this work. I would like to make a suggestion concerning the shipping part of checkout. In v1 of this project we just had 2 flat choices which users could select as their options. In reality, however, we are much more likely to use a 3rd party service/API, which we would call with our To and From addresses and shipment weight (in the simplest case), and present the user with a choice of tiers, each with a different price. I am not suggesting you go on that tangent, of course - but we could at least create a shipping app, and use some mock in place of a service call, so that the real production code would be different only in swapping the mock for a real call. Thank you for your consideration.

AlexandreKarpov
Автор

I always like your video, cos i know they are always 💯

idriszayyad
Автор

Please Kindly make a video on file handling

patrick_kabwe
Автор

You are the best. I am s new suscriber. You didnt do any frontend here?

josephbashorun
Автор

This series is very great but may I know that still how many tutorials left in this series?

KK-okyr
Автор

there are plans to start this course after its complete completion, I wonder how many more parts there will be?

alexeyfilippov
Автор

Thank you Zander, why are you adding DRF? Do you intend to have a React for frontend? I assume the point of using DRF would be to have the application not work in a monolithic environment but have a separate frontend?

radf
Автор

Thanks so much for this bro, am following this tutorial step by step, but do i have to follow the V1 to be able to follow along with this or i can just start with this

jephtah
Автор

Господи так жмыхнуло что я преисполнился

ktyycfe