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> 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. > 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 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/CAE0AZGKB5Mj5%3DFfuHVAASVG-GU3i7Opc1OsxySy_C9A3y0axeA%40mail.gmail.com.