So I have a model that looks somewhat like this: class ProductInfo(models.Model): manufacturer = models.ForeignKey product_type = models.ForeignKey product_name = models.ForeignKey product = models.CharField() sku = models.CharField() # bunch of other fields
Basically everything except the Foreign Keys are scraped from xml feeds. The product field is tied to product_name. Basically I am updating the information everyday by scraping the new xml feed but every time I do the ForeignKeys are reset. I need a way to keep them from being changed. Anyone know of a good way to do it? Thanks Brian -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.