0
Is there a way to disable django queryset caching
I am developing an e-commerce site, and when I add the same item to the cart several times, the only way I can do that is if I use the same queryset, so after the first queryset, the other ones just update the quantity of the same item then save it, but I noticed that the database is caching the second queryset because it is the one where I start updating the quantity, mainly because I am storing the queryset in the same variable. So how can I solve this?
1 Answer
0
Can you share that part of your code?