| 80 | |
| 81 | def test_cannot_perform_joins_references(self): |
| 82 | class BlogPost(Document): |
| 83 | author = ReferenceField(self.Person) |
| 84 | author2 = GenericReferenceField() |
| 85 | |
| 86 | # test addressing a field from a reference |
| 87 | with pytest.raises(InvalidQueryError): |
searching dependent graphs…