Re: many-to-many between apps

2013-07-31 Thread Mike Dewhirst
On 31/07/2013 5:08pm, Mike Dewhirst wrote: Is it possible to establish a many-to-many relationship between a model in one app and a model in another app? Yes. I needed to avoid importing the class and use ... class Region(models.Model): ... various fields ... ref = models.ManyToMan

many-to-many between apps

2013-07-31 Thread Mike Dewhirst
Is it possible to establish a many-to-many relationship between a model in one app and a model in another app? I've just tried to do it and run into what I think is circular import trouble. This is a retro-fit after initial deployment. #in item.models.reference class Reference(models.Model):