We receive the data every two weeks and then use django-import-export to import the data into our database. There is no mention of the account manager in these as this is something on our side. Am I missing the point in that by having the foreign key to the account manager this would impact on the import?
> On 5 May 2022, at 14:51, Ayser shuhaib <embedded.mana...@gmail.com> wrote: > > > To help understand more the problem, would you please explain why adding an > extra field to your models to be used as a foreign key, is not an option? > > On Thu, 05 May 2022 at 15:36, 'dtdave' via Django users > <django-users@googlegroups.com <mailto:django-users@googlegroups.com>> wrote: > We receive data from various third parties in their proprietary format in > excel. We then import this into our database and our models have been > designed around their format. > There is no option to change the way this data is received. > However, we now need to add an account manager to this data and under normal > circumstances this would be a case of adding a foreign key to the data. > > What would be the best method of dealing with this given that we cannot > change the format of the data we receive nor the current models given that > they mirror this structure. > One suggestion has been to use a generic foreign key but I am not sure how > this would work. > > Thanks in advance > > > > -- > 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 > <mailto:django-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/97d1988f-b230-46a8-93dc-be583860467an%40googlegroups.com > > <https://groups.google.com/d/msgid/django-users/97d1988f-b230-46a8-93dc-be583860467an%40googlegroups.com?utm_medium=email&utm_source=footer>. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/bLKn2Dm15sU/unsubscribe > <https://groups.google.com/d/topic/django-users/bLKn2Dm15sU/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > django-users+unsubscr...@googlegroups.com > <mailto:django-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAE0AZGKB5Mj5%3DFfuHVAASVG-GU3i7Opc1OsxySy_C9A3y0axeA%40mail.gmail.com > > <https://groups.google.com/d/msgid/django-users/CAE0AZGKB5Mj5%3DFfuHVAASVG-GU3i7Opc1OsxySy_C9A3y0axeA%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1AAD717E-D010-433B-8998-68FEC047E311%40googlemail.com.