Fixed typo in BasicExpressionsTests.test_object_update_fk() test.
@@ -285,7 +285,7 @@ class BasicExpressionsTests(TestCase):
test_gmbh.point_of_contact = self.gmbh.ceo
test_gmbh.save()
- test_gmbh.name = F('ceo__last_name')
+ test_gmbh.name = F('ceo__lastname')
msg = 'Joined field references are not permitted in this query'
with self.assertRaisesMessage(FieldError, msg):
test_gmbh.save()
