'Regression test for #6045: references to other models can be unicode
strings, providing they are directly convertible to ASCII.'

def test_m2m_with_unicode_reference(self):

    m1 = UnicodeReferenceModel.objects.create()
    m2 = UnicodeReferenceModel.objects.create()
    m2.others.add(m1)
    m2.save()
    list(m2.others.all())
