Posts by Eduardo B • 1 point
2 posts
-
0
votes1
answer51
viewsA: Django. I can’t pass the model I’d like through classes
After some time trying to solve I finally got it form_class_mapping = {'Product':ProductModelForm,'Gondola':ProdGondolaModelForm,'Stock':ProdStockModelForm} queryset_mapping =…
-
0
votes1
answer51
viewsQ: Django. I can’t pass the model I’d like through classes
I’m having a problem creating a page to create new products and know I’m having some problem with Oop for lack of experience. I would like to pass the value of self in this case being self==Product,…