▶ Watch Django Wednesdays Ecommerce Playlist ✅ Subscribe To My TH-cam Channel: bit.ly/3OBQJfN bit.ly/2IGzvOR ▶ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take 50% off with coupon code: youtube50 bit.ly/2VC9WUN ▶ Get The Code bit.ly/47xAhWJ
These videos are awesome, even though we don't dig deep into everything going on, it helps us see the bigger picture up front, then I can study the separate concepts on my own, it really helps me more than the other way around! Since I'm from Brazil, once I start integrating with brazillian apis for payment and shipping I probably will have a lot more learning to do, but these series are a life saver. I'm considering registering for Codemy but prices in USD are so steep for us (5x more expensive just from conversion apart that our minimum wage here is about 3x less than the average US min wage.) Thanks again for this awesome content!
@@Codemycom Yeah, however I also wanna keep track of the quantities of each variant and display them to the product page. This is where I kinda ran into trouble. I just couldn't wrap my head around it, maybe I'm just over thinking the solution. I could understand if you don't wanna make a whole separate tutorial for this, but I'm open to any suggestions.
Hi, I am getting this error (in unregister raise NotRegistered("The model %s is not registered" % model.__name__) django.contrib.admin.exceptions.NotRegistered: The model User is not registered) after adding the code 'admin.site.unregister(User)'. I have searched but could not solve it. Can you help me?
@@Codemycom "I wrote all the code you wrote in the video. I imported them; from django.contrib import admin from .models import Category, Customer, Product, Order, Profile from django.contrib.auth.models import User I tried with Try except as below but this time i got this error ( django.contrib.admin.exceptions.AlreadyRegistered: The model User is already registered with 'auth.UserAdmin'. ) try: admin.site.unregister(User) except NotRegistered: pass But I still get the same error. How can I fix this?"
I fixed the error. We get the error because we are running the unregister code before the register code. We need to run the register code before the unregister code. admin.site.register(User, UserAdmin) admin.site.unregister(User)
▶ Watch Django Wednesdays Ecommerce Playlist ✅ Subscribe To My TH-cam Channel:
bit.ly/3OBQJfN bit.ly/2IGzvOR
▶ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
Take 50% off with coupon code: youtube50 bit.ly/2VC9WUN
▶ Get The Code
bit.ly/47xAhWJ
These videos are awesome, even though we don't dig deep into everything going on, it helps us see the bigger picture up front, then I can study the separate concepts on my own, it really helps me more than the other way around! Since I'm from Brazil, once I start integrating with brazillian apis for payment and shipping I probably will have a lot more learning to do, but these series are a life saver. I'm considering registering for Codemy but prices in USD are so steep for us (5x more expensive just from conversion apart that our minimum wage here is about 3x less than the average US min wage.) Thanks again for this awesome content!
Glad you're enjoying them, thanks for the comment!
what a great explanation!! refering your series to all my freinds!
Thanks!
Thanks again for this John!
Welcome
best tutorials for beginner thank you sir.I really love and greatful your videos
Very welcome!
Would you mind doing a video on product variations? Such as color, and size?
Wouldn't you just add those fields to the model?
@@Codemycom Yeah, however I also wanna keep track of the quantities of each variant and display them to the product page. This is where I kinda ran into trouble. I just couldn't wrap my head around it, maybe I'm just over thinking the solution. I could understand if you don't wanna make a whole separate tutorial for this, but I'm open to any suggestions.
@@rbxzy maybe we'll get into it
Watching your video 📸
enjoy!
can you tell me how many video publish to complete Django e-commerce@@Codemycom
awesome ! thank you
welcome
thanks
👏👏👏👏
🙂
💙💙💙💚💚💚
🙂
💯❤
🙂
Hi, I am getting this error (in unregister raise NotRegistered("The model %s is not registered" % model.__name__) django.contrib.admin.exceptions.NotRegistered: The model User is not registered) after adding the code 'admin.site.unregister(User)'. I have searched but could not solve it. Can you help me?
Sounds like you forgot to import at the top:
from django.contrib.auth.models import User
@@Codemycom
"I wrote all the code you wrote in the video. I imported them;
from django.contrib import admin
from .models import Category, Customer, Product, Order, Profile
from django.contrib.auth.models import User
I tried with Try except as below but this time i got this error ( django.contrib.admin.exceptions.AlreadyRegistered: The model User is already registered with 'auth.UserAdmin'. )
try:
admin.site.unregister(User)
except NotRegistered:
pass
But I still get the same error. How can I fix this?"
I fixed the error. We get the error because we are running the unregister code before the register code. We need to run the register code before the unregister code.
admin.site.register(User, UserAdmin)
admin.site.unregister(User)
i thing need also add category description and picture, for category page. Meaby product rename like product detail?
Go for it