Hooray, I've got the exception to work. Although the stock is still
all zeros.

If I remove lines...

    for product in products:
        product.items_in_stock = 0
        product.save()

...updating works. However I need to zero all the stock before I
update, because my feed does not contain SKUs that are not in 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to