Python Django Ecommerce CRUD and UUID - Managing multiple addresses

preview_player
Показать описание
We are back here in the Python Django Ecommerce Project. This Django project is aimed at getting you started with Django and moving you into more advanced topics as the project progresses. In this tutorial we go through the process of further normalizing the accounts table to allow users to save more than one address. We build in Django a new address table and then start to update the UI in the dashboard, finally we work through a simple CRUD feature with Django views.

00:00 Introduction
00:21 Preview of build features
02:09 Workflow
02:29 Database update preview
05:25 Download repository
05:28 How to run the project code
06:30 Account model changes

DB Development
####
07:12 Start changing the account table model
09:43 Actually making changes (sorry about the chatting)
12:45 Introducing the UUID field
18:00 Fixing problems with the changes we made in the account model
24:01 Turn off the Django debug toolbar

UI Changes
####
26:39 Making changes to the dashboard UI

CRUD
####
36:54 Building the URLS for the address CRUD system
46:45 Add address
56:42 Edit address
01:03:06 Delete address
01:04:30 Set default address

Final Code:

✨ Support us - join us as a Very Academy Member

👍SUBSCRIBE to get more free tutorials, courses and code snippets!

👍👍Follow us on Facebook

👍👍👍Follow use on Twitter:
Рекомендации по теме
Комментарии
Автор

great series. by watching these videos i was able to built my own custom ecommerce app thanks for the effort

JustPro
Автор

Love the depth and qualities of these tutorials, !
Appreciate the effort you put into this, earned a sub! :D

pepelaugh
Автор

Got way more than what I wanted /
Thanks for keeping it free for us.

MrRahul
Автор

best course of eccomerce
sir plz make video on restframework

hackerdaddy
Автор

Still love this course as a senior fe developer studying be technologies I was looking for this intermediate course, I was wandering if there is any plan to make a video series where the fe is made in next js using django rest framework as api. I think it would be a HUGE resource, I will still probably take your other course on next and django rest and build it on my own if it is not the case.

sacrista
Автор

Wow nice tutorial.
Sir can you create payment gateway to for midtrans ??

azkaainulmaarij
Автор

Very good tutorial. When will you release Part 7 ?

MrBPLIM
Автор

how did you solve the "Error: please try again"? I follow the tutorial and I can't add new address?

vanjomampusti
Автор

Thank you for the videos !
Most of the views code are function-based views. Is it possible to do it with class-based views or there is a particular reason to use functions here ?
Keep doing your tutorial, very educative ! Thanks !

alexandreredon
Автор

Question on GraphQL. How can I pass an argument from let's say the mutation to the For more context, the employee mutation needs to pass employee's location, age etc, but doesn't want to deal with the complexities involved in create_new_user mutation?

TK-znfb
Автор

address = Address.objects.get(id=id, customer=request.user)
idnot know you add the customer paramater also isnot it enough for only the id scince the user must be
already login to be able to edite the addresss

abdelrhmanahmed
Автор

Make video how to create database connected to website please

lucario