I'm trying to run an import and in my identity fields I'm referencing a foreignkey field. The excel file holds the name of the brand and this field seems to be ignored when the import happens. My theory was that perhaps it's because it's not mapped and in fact it's probably matching the brand_name against the brand_id. Wondering if you've run into this?
class Ingredient(models.Model): 'identity_fields':['name', 'brand_name'], ... name = models.CharField(max_length=60) brand_name = models.ForeignKey(Brand) ... The end goal is to see if the name and the brand match then to and not insert. thanks -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.