Thank you for your input all. Now it works perfect: http://dpaste.com/hold/62755/
I've inserted print statements by every line just to find out I forgot to call products = Product.objects.order_by('sku') after the second save() to get the updated stock. That said it always worked, I just couln't know about it, because the template displayed the products stock numbers from before I updated the stock. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---