﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25535	ForeignObject checks are too strict	Antoine Catton	nobody	"Let's consider this test case:

{{{#!python
class Parent(models.Model):
  a = models.Field()
  b = models.Field()

  class Meta:
    unique_together = (
      ('a', 'b'),
    )

class Child(models.Model):
  a = models.Field()
  b = models.Field()
  parent = ForeignObject(Parent, from_fields=('a', 'b'), to_fields=('a', 'b'))
}}}

I get the error: `None of the fields 'a', 'b' on 'Parent' have a unique=True constraint.` But a and b are unique together, the ForeignObject will be functional."	Bug	closed	Core (System checks)	dev	Normal	fixed	ForeignObject check framework		Ready for checkin	1	0	0	0	0	0
