Hi
-- I have created an online store project where every product has a user who is the seller.
I wanted to access seller info from the product using reverse relation "product.user.sellar"
but it returns appname.Model.None
here is my usermodel and sellar model

I wanted to access seller info from the product using reverse relation "product.user.sellar"
but it returns appname.Model.None
here is my usermodel and sellar model
(there is a spelling mistake seller is sellar)
Please help me I'm kind of stuck with the problem for two days
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALWCTKgFieA0u%3DyT_EhvT0Z4RA_Umvtzw7FGztSpZ6ocySTPpQ%40mail.gmail.com.
No comments:
Post a Comment