You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error, this is my configuration:
class test1(models.Model):
dsp_publisher = models.OneToOneField('app.test3', on_delete=models.CASCADE)
publisher = models.ForeignKey('app1.test2', on_delete=models.CASCADE)
class test2(models.Model):
name = models.CharField(max_length=256)
dsp_publishers = models.ManyToManyField('app.test3', related_name='dsp_publishers',
through='app.test1')
include = models.BooleanField(default=False)
class test3(models.Model):
name = models.CharField(max_length=256)_
The text was updated successfully, but these errors were encountered:
Hi Team,
I am getting the following error, this is my configuration:
class test1(models.Model):
dsp_publisher = models.OneToOneField('app.test3', on_delete=models.CASCADE)
publisher = models.ForeignKey('app1.test2', on_delete=models.CASCADE)
class test2(models.Model):
name = models.CharField(max_length=256)
dsp_publishers = models.ManyToManyField('app.test3', related_name='dsp_publishers',
through='app.test1')
include = models.BooleanField(default=False)
class test3(models.Model):
name = models.CharField(max_length=256)_
The text was updated successfully, but these errors were encountered: