Posts by Thiago Rech • 21 points
3 posts
-
0
votes1
answer22
viewsA: Reverse for 'add' with keyword Arguments '{'product_id': 2}' not found. 1 Pattern(s) tried: ['Cart/add/<int:product_id>/']
The error was that I made the addition in the cart by Siession and then I took the products from my site, but in Siession the product was recorded and ended up giving error when trying to access the…
-
-2
votes1
answer22
viewsQ: Reverse for 'add' with keyword Arguments '{'product_id': 2}' not found. 1 Pattern(s) tried: ['Cart/add/<int:product_id>/']
Hello I’m studying Django and following a tutorial I got to the part of adding a product to my shopping bag, but when I click the add button in the bag it returns this error: Traceback takes me to…
-
0
votes0
answers27
viewsQ: Django.urls.resolvers.URLResolver. _reverse_with_prefix() argument after ** must be a Mapping, not set
Hello I’m trying to do an e-commerce with Django, I was following a tutorial until the creation of the products, the page worked ok (no products and categories), when I added a category and a…